ちょうど公式サンプルcode.Hereがリンクで参照してください。SampleCode
はlaunchMailAppOnDevice()関数を見つけます。
// Launches the Mail application on the device.
-(void)launchMailAppOnDevice
{
NSString *recipients = @"mailto:[email protected][email protected],[email protected]&subject=Hello from California!";
NSString *body = @"&body=It is raining in sunny California!";
NSString *email = [NSString stringWithFormat:@"%@%@", recipients, body];
email = [email stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:email]];
}
私にとっては役に立ちました。それがあなたを助けることを願っています。
[iPhoneのプログラム設定でメール設定ページを表示するにはどうすればいいですか?](http://stackoverflow.com/questions/6015855/how-do-i-show-the-mail-setup-page-programatically -in-iphone) – Jim