摘要:
1、使用openURL来实现发邮件的功能:NSString *url = [NSString stringWithString: @"mailto:foo@example.com?cc=bar@example.com& subject=Greetings%20from%20Cupertino!& body=Wish%20you%20were%20here!"];[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];缺点很明显,这样的过程会导致程序暂时退出 阅读全文