回答編集履歴
1
`targetViewController` に代入するところも省略せず記載した
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
|
```
|