title: Issue when using MFMailComposeViewController
body: <p>I have a tricky problem. In one of my app, with over 150.000 downloads... I have a problem which seldom occurs and which I can't seem to figure out.</p>
  
  <p>The problem is the following: 
  In a view where the user can share a list via email, I open the mail window using <code>MFMailComposeViewController</code>. However, in some few cases the app seems to get a problem using the mail composer. The user presses the share button, the mail windows slides up, waits about 1-2 sec and then closes again. No content in the mail window, although I do send data to it.
  I myself have not been able to re-create the problem on any device or in the simulator, however one colleague has. 
  I ran the app using XCode on his phone and got the following in the logs:</p>
  
  <pre><code>2013-03-01 14:43:39.604 appname[318:907] &lt;MFMailComposeRemoteViewController: 0x1ebfb100&gt; timed out waiting for fence barrier from com.apple.MailCompositionService
  2013-03-01 14:43:39.631 appname[318:907] viewServiceDidTerminateWithError: Error Domain=XPCObjectsErrorDomain Code=2 "The operation couldn’t be completed. (XPCObjectsErrorDomain error 2.)"
  </code></pre>
  
  <p>I googled the error "timed out waiting for fence barrier from com.apple.MailCompositionService" but can't really find any help.</p>
  
  <p>Does anybody have any experience with this? How can I solve it?</p>
  
  <p>My code for opening the view:</p>
  
  <pre><code>-(void)displayComposerSheetWithBodyString:(NSString *)aBody
  {
      if ([MFMailComposeViewController canSendMail])
      {
          MFMailComposeViewController *picker = [[MFMailComposeViewController alloc]init];
          picker.mailComposeDelegate = self;
  
          [picker setSubject:@"Lista"];
  
          NSString *emailBody = aBody;
          [picker setMessageBody:emailBody isHTML:NO];
  
          [self.navigationController presentModalViewController:picker animated:YES];
      }
      else
      {
          [[[UIAlertView alloc]initWithTitle:NSLocalizedString(@"Din enhet är inte redo att skicka e-post. Kontrollera dina inställningar", nil)
                                     message:nil
                                    delegate:self
                           cancelButtonTitle:NSLocalizedString(@"OK", nil)
                           otherButtonTitles:nil]
           show];
      }
  }
  </code></pre>