MFMailComposeViewController app crash in ipad

I have a problem in MFMailComposeViewController.

if no one is registered in the mail and I try to open this view, application crashes how to solve it?

if I log in frommail in ipad and after that I try to download this work.

Thank,

Syam Parmar

+5
source share
1 answer

As far as I know, MFMailComposer requires a mail account to send mail, so if the account is not configured, this will cause problems. you can check if mfmailcomposer can send mail through your method[MFMailComposeViewController canSendMail];

+9
source

All Articles