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...)
Thank
You can subclass MFMailComposeViewController and overload its -viewDidDisappear:.
-viewDidDisappear:
@interface MyCtrler : MFMailComposeViewController @end @implementation MyCtrler -(void)viewDidDisappear:(BOOL)animated { [super viewDidDisappear:animated]; // do anything you like } @end