Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーが現在使用しているビューコントローラーの横にあるビューコントローラーを閉じるにはどうすればよいですか?
selfをビューコントローラ名に置き換える必要がありますが、そうするとSIGABRTが表示されます。私は何をする必要がありますか?ありがとう!
[self dismissModalViewControllerAnimated:NO];
試す
[self.parentViewController dismissModalViewControllerAnimated: YES];