Google后查证,iOS9引入了新特性App Transport Security (ATS)
。详情:App Transport Security (ATS)html
新特性要求App内访问的网络必须使用HTTPS
协议。ios
在Info.plist中添加NSAppTransportSecurity
类型Dictionary
。网络
在NSAppTransportSecurity
下添加NSAllowsArbitraryLoads
类型Boolean
,值设为YES
app