iOS9AdaptationTips icon indicating copy to clipboard operation
iOS9AdaptationTips copied to clipboard

正确设置好 Info.plist 后还是不能访问

Open wangzhenyujiang opened this issue 8 years ago • 2 comments

我在 Info.plist 文件中添加了: NSAppTransportSecurity NSAllowsArbitraryLoads 还是不能访问服务器,请问为什么?

wangzhenyujiang avatar Jul 24 '15 08:07 wangzhenyujiang

官方给出的设置有问题,请参考http://www.fiveminutewatchkit.com/blog/2015/6/9/how-to-disable-app-transport-security

Ambtion avatar Jul 24 '15 08:07 Ambtion

NSExceptionAllowsInsecureHTTPLoads = NO,是允许http请求?

cp3hnu avatar Oct 08 '15 04:10 cp3hnu