打电话带UIAlertView可以选择取消和呼叫的方式
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://13460923602"]];
跳转手机QQ指定QQ界面
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero];
NSURL *url = [NSURL URLWithString:@"mqq://im/chat?chat_type=wpa&uin=465397187&version=1&src_type=web"];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];
[self.view addSubview:webView]; |
|