title: MailCompose with iPhone 5
body: <p>I'm trying to send emails through my application, and i'm using the following code:</p>
  
  <pre><code>        if ([MFMailComposeViewController canSendMail]) {
              MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init];
              controller.mailComposeDelegate = self;
  
              NSString *subject = @"";
              NSString *body = @"";
  
              [controller setSubject:subject];
              [controller setMessageBody:body isHTML:YES];
  
              [self presentModalViewController:controller animated:YES];
  
          } else {
              NSString *message = @"Error opening mail, please make sure you have an email account setup";
              UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Oops" message:message delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
              [alert show];
          }
  </code></pre>
  
  <p>I'm getting a weird error where on my iPhone 5, the compose screen pops up, with no body (although the body was set above). I"m not able to see a cursor if I click on any box and therefore can't edit, and the send button is non-clickable. And when I dismiss the screen I get the following:</p>
  
  <pre><code>_serviceViewControllerReady:error: Error Domain=_UIViewServiceErrorDomain Code=1 "The operation couldn’t be completed. (_UIViewServiceErrorDomain error 1.)"
  </code></pre>
  
  <p>However, when I test this on an iPhone 4s, iPhone 4, and on the Simulator--it works fine. I also tested it on another iPhone 5 and it works fine. The body is there, and I can send an email etc.</p>
  
  <p>Is there anything else I may be missing? I have two email accounts associated with mail on my phone, so therefore the <code>canSendMail</code> should work...</p>