Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MFMailcomposeviewcontroller send button is disabled

Has anyone faced an issue where the MFMailcomposeviewcontroller send button is disabled/grayed out? The cancel button works perfectly fine.

It seems like a new bug?

like image 370
PictureMeAndYou Avatar asked Nov 11 '16 04:11

PictureMeAndYou


2 Answers

This could happen in case native Mail application is removed from iPhone (allowed starting from iOS 10). In this case system Setting missing "Mail" setting item and system probably cannot get configuration of default email account.

At the same moment MFMailComposeViewController.canSendMail() return true, so I did not find any solution to solve this case.

like image 199
Andriy Slyusar Avatar answered Nov 08 '22 10:11

Andriy Slyusar


Getting same issue and spent few hours to find out the solution and working fine now.

1)check default "Mail" app of your ios device is uninstall
or
2)already exist but offload this app from setting that time showing icon like attached image than just install app again and solve the problem.

enter image description here

like image 23
Maulik Patel Avatar answered Nov 08 '22 09:11

Maulik Patel