how to open the url in safari not in webview

后端 未结 10 1787
时光说笑
时光说笑 2020-12-28 16:18

I want to open an url in safari, outisde the app and not in webview.

I implemented the UIWebViewDelegate but I am still not able to open the url. Basically I am not

10条回答
  •  梦谈多话
    2020-12-28 16:59

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com"]];
    

提交回复
热议问题