开发者

Is there a modalViewControllerDidEnd method for modal view?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜