MFMailComposeViewController error when iCloud account is present?

I use MFMailComposeViewController so that users can send mail from my application without any problems. But I found that if I have an “iCloud” account installed on the device [MFMailComposeViewController canSendMail] returns 0.

If I delete the iCloud account, MFMailComposeViewController will resume. I have tried; by setting the default email account in the iOS settings to my gmail account, setting my iCloud account to @iCloud email (which I know because I can send mail from an email application using it).

Any ideas would be most appreciated.

EDIT

  • I found that other applications do not have the same problem.
  • When creating content for email, I used a lot of streams to retrieve data from UIDocument instances at the same time, I found that if I load documents sequentially, the problem does not occur.
+4
source share
2 answers

Sounds like a serious mistake to me. You must definitely file a radar.

+1
source

This is not a known AFAIK error ... it sounds really strange
Does it work from other applications? (excluding mail)

If I didn’t send an error

+1
source

All Articles