Because the MFMailComposerViewController is created immediately when the app starts, people who have not configured a mail account on their device are greeted with a "No Mail Accounts" message. There is a note in the code that the global MFMailComposer is a workaround for some bug. But maybe we can live with that bug and just allocate it at the moment a screenshot is made. (That is normal usage anyway - I don't think it should be reused)
Created attachment 8583074 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/273 I have removed the workaround where the MFMailComposeViewController is created at startup because without it things also seem to work fine. This gets rid of the 'No Mail Accounts' alert when the application starts.
Comment on attachment 8583074 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/273 Nice!