エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
複数のmodalを同時に閉じる方法 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
複数のmodalを同時に閉じる方法 - Qiita
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES complet... [self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:NULL]; するとできました。一番深い階層のmodalを指定すると、その前のものは全て閉じることができるみたいです。 (http://stackoverflow.com/questions/8798491/dismissing-multiple-view-controllers-in-ios-5) UIViewControllerのドキュメントにも書いてあります。 If you present several view controllers in succession, thus building a stack of presented view controllers, callin