title: MFMailComposeViewControllerDelegate method does not get called with iOS 6
body: <p>I present MFMailComposeViewController controller and set it delegate - everything works as expected with iOS 5 but the delegate method (mailComposeController:didFinishWithResult:error:) is not called in iOS6.</p>
  
  <p>Here are code snippets:</p>
  
  <pre><code>MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init];
  controller.mailComposeDelegate = self;
  [controller setSubject:&lt;text&gt;];
  [controller setMessageBody:&lt;text&gt; isHTML:NO];
  [self presentViewController:controller animated:YES completion:nil];
  </code></pre>
  
  <p>And the following delegate method is not called in iOS6, though the controller is successfully dismissed after Cancel or Done button is pressed:</p>
  
  <pre><code>- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error {
    if (error != nil) {
        NSLog(@"An error occurred while sending e-mail. %@, %@", error, [error userInfo]);
    }
    NSLog(@"done with e-mail");
    [self dismissViewControllerAnimated:YES completion:nil];
  }
  </code></pre>
  
  <p>Any advice will be greatly appreciated! Thank you in advance.</p>
  
  <p>EDIT: Method viewWillAppear: of my controller presenting mailComposeController is not called either! Can it be a clue?</p>