Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wangzhenyujiang opened this issue Jul 24, 2015 · 2 comments
Open

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

wangzhenyujiang opened this issue Jul 24, 2015 · 2 comments

Comments

@wangzhenyujiang
Copy link

我在 Info.plist 文件中添加了:
NSAppTransportSecurity

NSAllowsArbitraryLoads


还是不能访问服务器,请问为什么?

@Ambtion
Copy link

Ambtion commented Jul 24, 2015

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

@powhu powhu mentioned this issue Jul 30, 2015
@cp3hnu
Copy link

cp3hnu commented Oct 8, 2015

NSExceptionAllowsInsecureHTTPLoads = NO,是允许http请求?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants