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.

有帮助吗?

解决方案

Try this:

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

[[UIApplication sharedApplication] openURL:myURL];
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top