Try this:
NSURL *myURL = [NSURL URLWithString:@"mailto:adress@example.com"];
[[UIApplication sharedApplication] openURL:myURL];
문제
In my application, i need to launch the Mail.app
of Apple. The screen i need to show to the user is
so that he can select whichever option he wants.
Using the MFMailComposeViewController
shows the mail composition interface
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];