- 调用电话
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://13120061014"]]; - 调用短信
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://13120061014"]]; - 调用safari
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.baidu.com"]]; - 调用mail
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://cz5551@163.com"]];
网友评论