質問編集履歴

1

コードの追加

2020/07/02 07:44

投稿

downtowntown
downtowntown

スコア21

test CHANGED
File without changes
test CHANGED
@@ -135,3 +135,37 @@
135
135
  }
136
136
 
137
137
  ```
138
+
139
+ ### 追記 このViewControllerから上記のPageViewControllerへ遷移してます
140
+
141
+ ```
142
+
143
+ class FirstViewController: UIViewController {
144
+
145
+
146
+
147
+ override func viewDidLoad() {
148
+
149
+ super.viewDidLoad()
150
+
151
+
152
+
153
+ // Do any additional setup after loading the view.
154
+
155
+ }
156
+
157
+
158
+
159
+ @IBAction func tap(_ sender: Any) {
160
+
161
+ let testVC = TestPageViewController.instantiate()
162
+
163
+ navigationController?.pushViewController(testVC, animated: true)
164
+
165
+ }
166
+
167
+
168
+
169
+ }
170
+
171
+ ```