Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
You can open a mailto: link like this :

Code:
NSURL *url = [[NSURL alloc] initWithString:@"mailto:example@example.com?subject=This is my subject&body=this is the body"];
[[UIApplication sharedApplication] openURL:url];

:)
 
At the moment, I'm using the mailto in my app to produce an email.

In one of the iPhone Getting Started videos, the Apple presenter refers to a method within UIKit (when discussing "Application integration") to "create and prefill a message in mail".

Is he referring to the mailto URL, or is there another way that this can be done?
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.