/
iOS9 HTTP
iOS9 HTTP
What
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
iOS9引入了新特性App Transport Security (ATS)
。详情:App Transport Security (ATS)
新特性要求App内访问的网络必须使用HTTPS
协议。
How
- 在Info.plist中添加
NSAppTransportSecurity
类型Dictionary
。 - 在
NSAppTransportSecurity
下添加NSAllowsArbitraryLoads
类型Boolean
,值设为YES
, multiple selections available,
Related content
NSHTTPCookieStorage
NSHTTPCookieStorage
More like this
itunes connect
itunes connect
More like this
ERROR ITMS - 90167 No. app bundles found in the package
ERROR ITMS - 90167 No. app bundles found in the package
More like this
Importing CommonCrypto in a Swift framework
Importing CommonCrypto in a Swift framework
More like this
iOS生产力之小工具合集
iOS生产力之小工具合集
More like this
NSString+MD5
NSString+MD5
More like this