モーダルで表示したViewControllerの上に、
更にモーダルでViewControllerを表示させた後、
下のViewControllerのみを閉じる実装を行いたいです。
下記の方法ではうまくいきませんでした。
//上の画面を表示する let targetViewController = self.storyboard!.instantiateViewControllerWithIdentifier( "NextScreen" ) self.presentViewController( targetViewController, animated: true, completion: nil) //下の画面を閉じる self.dismissViewControllerAnimated(true, completion: nil)
どなたかご存知の方がいればご教授ください!
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/03/15 07:38