1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary
2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES
1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary
2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES
转载于:https://www.cnblogs.com/shpyoucan/p/5421160.html