iOS - 知道模态视图何时被关闭
我有一个 UIViewController,在其中呈现一个 modalViewController。显示模态视图后,用户可以将其关闭。
有没有办法知道模态视图何时完全消失,以便我可以从原始控制器触发方法?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来像是一份工作:viewDidDisappear:来自 http ://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html
Sounds like a job for: viewDidDisappear: from http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html