开发者

iOS - Know when modal view has been dismissed

开发者 https://www.devze.com 2023-02-24 11:25 出处:网络
I have a UIViewController which I present a modalViewController in.After the modal view is shown, the user can dismiss it.

I have a UIViewController which I present a modalViewController in. After the modal view is shown, the user can dismiss it.

Is there a way to know when that modal view has been compl开发者_开发问答etely dismissed so I can fire a method from the original controller?


Sounds like a job for: viewDidDisappear: from http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html

0

精彩评论

暂无评论...
验证码 换一张
取 消