1.由于新特性要求App内访问网络请求,要采用 HTTPS 协议。所以要在项目的info.plist中添加如下的参数设置:
<key>NSAppTransportSecurity</key>
<dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
<key>NSAppTransportSecurity</key>
<dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>