手机
网址:
邮箱:
打开:
[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://%@",mobile]];
电话:
[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://%@",tel]];
网址:
[NSString stringWithFormat:@"http://%@",website];
邮箱:
[NSURL URLWithString:[NSString stringWithFormat:@"mailto://%@",email]];
打开:
if ([[UIApplication sharedApplication] canOpenURL:callUrl]) {
[[UIApplication sharedApplication] openURL:callUrl];
}