質問編集履歴
1
h
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,9 @@
|
|
3
3
|
2つめのViewControllerを配置して
|
4
4
|
1つめの画面のbuttonに
|
5
5
|
|
6
|
+
let storyboard: UIStoryboard = self.storyboard!
|
7
|
+
let second = storyboard.instantiateViewController(withIdentifier: "second")
|
6
|
-
self.
|
8
|
+
self.present(second, animated: true, completion: nil)
|
7
9
|
|
8
10
|
(2つめのViewControllerの Restration ID は Second )
|
9
11
|
|