iPhone - Detect the end of the animation
问题 How can I detect the end of the animation of a modal view (when I do a dismiss)? (I'm talking about MFMailComposeViewController which is not created by myself...) Thanks 回答1: Your modal view controller has a -viewDidDisappear: method that is automatically invoked whenever the view is removed from the screen. You can override this method in your modal view controller to do whatever you like. Also, you may want to consider implementing the -viewDidAppear: method in the view controller whose