トップページ > プログラム > 2016年01月01日 > G1d9SKHn

書き込み順位&時間帯一覧

8 位/98 ID中時間01234567891011121314151617181920212223Total
書き込み数0000000001001000000000002



使用した名前一覧書き込んだスレッド一覧
sage
デフォルトの名無しさん
Swift part5 [転載禁止]©2ch.net

書き込みレス一覧

Swift part5 [転載禁止]©2ch.net
685 :sage[]:2016/01/01(金) 09:02:19.66 ID:G1d9SKHn
ViewControllerA (ViewA)

let nextVC = self.storyboard?.instantiateViewControllerWithIdentifier("ViewB")

presentViewController(nextVC!, animated: true, completion: nil)

ViewControllerB (ViewB)
let nextVC = self.storyboard?.instantiateViewControllerWithIdentifier("ViewC")
presentViewController(nextVC!, animated: true, completion: nil)

でViewCまで遷移した後で、ViewAに一気に戻りたいのですが、キレイに戻るにはどうすれば良いでしょう?
self.presentingViewController?.presentingViewController?.dismissViewControllerAnimated(true, completion: nil)
で戻ると、一瞬ViewBが見えてしまって見苦しいです。
Swift part5 [転載禁止]©2ch.net
687 :デフォルトの名無しさん[sage]:2016/01/01(金) 12:04:56.79 ID:G1d9SKHn
>> 686
すまん。ありがとう。


※このページは、『2ちゃんねる』の書き込みを基に自動生成したものです。オリジナルはリンク先の2ちゃんねるの書き込みです。
※このサイトでオリジナルの書き込みについては対応できません。
※何か問題のある場合はメールをしてください。対応します。