Hello,
I use MFMailComposeViewController to generate an email from my app. I add attachments through the function addAttachmentData(Data, mimeType: String, fileName: String) available on that class.
Everything works fine...unless you define a different default mail client on iOS 14. If I define Gmail or Outlook, the attachment is missing. If I define the Mail app, the attachment is present...
I suspect this is a pretty bad bug on iOS 14. Am I missing something? Nothing I could find in the MFMailComposeViewController indicates that adding attachments would only work if the Mail app is the default mail app on iOS 14.
I use MFMailComposeViewController to generate an email from my app. I add attachments through the function addAttachmentData(Data, mimeType: String, fileName: String) available on that class.
Everything works fine...unless you define a different default mail client on iOS 14. If I define Gmail or Outlook, the attachment is missing. If I define the Mail app, the attachment is present...
I suspect this is a pretty bad bug on iOS 14. Am I missing something? Nothing I could find in the MFMailComposeViewController indicates that adding attachments would only work if the Mail app is the default mail app on iOS 14.