我的 info.plist 设置如下:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
但是,将“www.google.com”加载到 UIWebView 时,我仍然收到 ATS 安全错误:
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection