スポンサーリンク
iPhoneアプリで画面遷移方法はいくつかあるが、
今回は別 storyboard へ遷移する方法。
1.遷移先のstoryboardの「Identity and Type」を選択し、Nameに適当な名前を入力。
(例)Hogehoge.storyboard
![%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88-2016-10-11-22-24-29%ef%bc%882%ef%bc%89](http://coglayblog.com/wp-content/uploads/2016/10/0116ab1ba2c85731f36717a0471abb40-153x300.png)
2.以下コードで遷移
let hogeHogeViewController = UIStoryboard(name: "HogeHoge", bundle: nil).instantiateInitialViewController() as! HogeHogeViewController
スポンサーリンク
スポンサーリンク