Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - Know when modal view has been dismissed

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 completely dismissed so I can fire a method from the original controller?

like image 247
Nic Hubbard Avatar asked Nov 28 '25 01:11

Nic Hubbard


1 Answers

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

like image 184
Tudor Avatar answered Nov 30 '25 15:11

Tudor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!