/**
* @author 黄健, 2016-05-20 17:05:58
*
* @brief 在线QQ咨询
*/
- (void)chatByQQAction
{
NSString *QQ = @"1285245402"; // QQ号
NSString *openQQURL = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web", QQ];
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero];
NSURL *url = [NSURL URLWithString:openQQURL];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];
[self.view addSubview:webView];
}
iOS在线QQ咨询
最新推荐文章于 2019-08-04 06:42:35 发布