回答編集履歴

1

`targetViewController` に代入するところも省略せず記載した

2017/08/04 06:00

投稿

koogawa
koogawa

スコア494

test CHANGED
@@ -14,6 +14,8 @@
14
14
 
15
15
  ```swift
16
16
 
17
+ let targetViewController = self.storyboard!.instantiateViewController( withIdentifier: "secondView" )
18
+
17
19
  self.navigationController?.pushViewController(targetViewController, animated: true)
18
20
 
19
21
  ```