iOS开发中调用拨号、短信、邮件、浏览器、等等

调用拨号

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://电话号码"]];

调用短信

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://电话号码"]];

调用电子邮件

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://收件人电子邮箱地址"]];

调用Safari打开链接

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.yiem.net"]];