- 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が見えてしまって見苦しいです。
|