NSString *urlStr = @"http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=QQ号码";
UIWebView *webView = [[UIWebView alloc] init];
NSURL *url = [NSURL URLWithString:urlStr];
[webView loadRequest:[NSURLRequest requestWithURL:url]];
[self.view addSubview:webView];
此外还需要在info.plist中添加权限
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mqqwpa</string>
</array>
转载于:https://www.cnblogs.com/siasyl/p/9922200.html