错误描述:
- The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
解决办法:
- 在Info.plist 中添加NSAppTransportSecurity类型Dictionary
- 在NSAppTransportSecurity下添加NSAllowArbitraryLoads类型Boolean, 值为YES;
- 注意,不在测试的plist的添加
App Transport Security iOS9安全特性 应用程序传输安全协议 简称 ATS