[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://[email protected]"]];
电话[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8004664411"]];
sms[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://466453"]];
浏览器
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunesconnect.apple.com"]];
打完电话回不去的话,就用@"telprompt://123456"就好了。
模拟器不支持电话,短信和app
store
原帖地址:http://www.cocoachina.com/bbs/read.php?tid-15849-page-1.html