Try this:
NSURL *myURL = [NSURL URLWithString:@"mailto:adress@example.com"];
[[UIApplication sharedApplication] openURL:myURL];
Frage
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.
Lösung
Try this:
NSURL *myURL = [NSURL URLWithString:@"mailto:adress@example.com"];
[[UIApplication sharedApplication] openURL:myURL];