开发者

Is there a modalViewControllerDidEnd method for modal view?

开发者 https://www.devze.com 2023-03-04 20:47 出处:网络
I present some navigation controlle开发者_开发问答r modally [self presentModalViewController:navController animated:YES];

I present some navigation controlle开发者_开发问答r modally

[self presentModalViewController:navController animated:YES];

How can I detect if modal view did end? Is there some delegate method?


As far as I know there is no method or notification sent.

I implement this with my own delegate protocol all the time.

I've posted a code example for a delegate pattern as answer to this question: delegate and passing data.

There is a method called somethingHappenedTellMyDelegate this should be trigger close to your dismissModalViewControllerAnimated:

0

精彩评论

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

关注公众号