When using MFMailComposeViewController
to send mail through an app, an issue arise if the user delete the Mail
app and instead use a thid party app to send their mail. What happens is that the mail form shows up, but the send arrow icon is grayed out/disabled:
MFMailcomposeviewcontroller send button is disabled
There is no indication of this to the user.
So what's the workaround here? Is it possible to make other mail services work with MFMailComposeViewController
? Or how do I at least tell the users that they need the Mail
App? There doesn't seem to be a check for this. The conditional if MFMailComposeViewController.canSendMail() {
only checks for a real device being used and a mail account being connected (I think), but it never actually checks if the Mail app even exists.