Native.js Android 启动QQ聊天界面的代码比较好写,请教下IOS部分的代码怎么写?
Object-c代码貌似如下:
UIWebView webView = [[UIWebView alloc] initWithFrame:CGRectZero];
NSURL url = [NSURL URLWithString:@"mqq://im/chat?chat_type=wpa&uin=501863587&version=1&src_type=web"];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
webView.delegate = self;
[webView loadRequest:request];
[self.view addSubview:webView];
南烛123
- 发布:2018-03-17 17:37
- 更新:2018-03-19 10:27
- 阅读:1359
回梦無痕 - 暂停服务
plus.runtime.openURL("mqq://im/chat?chat_type=wpa&uin=501863587&version=1&src_type=web");
南烛123 (作者)
@518399 - qq565766672 可以 解决了我的问题
2018-03-20 17:52