WebView 访问网页问题--ios9

问题描述:
    Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app‘s Info.plist file.

解决办法:
    修改info.plist文件
    添加
    <key>NSAppTransportSecurity</key>
        <dict>
            <key>NSAllowsArbitraryLoads</key>
            <true/>
        </dict> app

添加后的界面
   
   it

相关文章
相关标签/搜索