1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//1、调用 自带mail
//2、调用 电话phone
[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:@"
tel://8008808888
"]];
//3、调用 SMS
[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:@"
sms://800888
"]];
//4、调用自带 浏览器 safari
//调用phone可以传递号码,调用SMS 只能设定号码,不能初始化SMS内容。
|
转载于:https://my.oschina.net/LangZiAiFer/blog/133763