邮件
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://roamer@me.com"]];
电话
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://911110"]];
sms
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://20172"]];
浏览器
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://roamer@me.com"]];
电话
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://911110"]];
sms
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://20172"]];
浏览器
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.apple.com"]];
打完电话,仍然返回程序
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://911110"]];