Question

In my application, i need to launch the Mail.app of Apple. The screen i need to show to the user is

enter image description here

so that he can select whichever option he wants.

Using the MFMailComposeViewController shows the mail composition interface

enter image description here

Is is possible to launch the Mail.app programmatically, or is it forbidden by Apple.

Was it helpful?

Solution

Try this:

NSURL *myURL = [NSURL URLWithString:@"mailto:adress@example.com"];

[[UIApplication sharedApplication] openURL:myURL];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top