Open links in Safari instead of UIWebVIew?

后端 未结 7 1137
后悔当初
后悔当初 2020-12-02 20:52

I have an app with a UIWebView inside a UIViewController. I load HTML from a web service as a string like this:

self.webView loadH         


        
7条回答
  •  孤街浪徒
    2020-12-02 21:17

    Have you set the delegate of the UIWebView to your UIViewController? There's nothing obviously wrong with your code as far as I can see, so it's likely to be something small like that.

提交回复
热议问题