1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary
2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES
shpyoucan 2016-04-22 14:21 原文
1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary
2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES