title: didFinishWithResult is not getting invoked for MFMailComposeViewController
body: <p>in buttonpress callback:</p>
  
  <pre><code> MFMailComposeViewController *mailViewController = [[MFMailComposeViewController alloc] init];
      mailViewController.mailComposeDelegate = self;
  
      [self presentModalViewController:mailViewController animated:YES];
  </code></pre>
  
  <p>Delegate Implementation:</p>
  
  <pre><code>- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error {
  NSLog (@" Inside  MAIL COMPOSER CONTROLLER DELIGATE ");
  
  
  // Remove the mail view
  [self dismissModalViewControllerAnimated:YES];
  }
  </code></pre>
  
  <p>When i press cancel button in the MailComposerView, delete is not getting invoked. what am i doing wrong ?</p>