Skip to content

Instantly share code, notes, and snippets.

@tcuongtran
Last active September 17, 2015 01:37
Show Gist options
  • Save tcuongtran/fce9cfa35028c27219de to your computer and use it in GitHub Desktop.
Save tcuongtran/fce9cfa35028c27219de to your computer and use it in GitHub Desktop.
Fix for App Transport Security has blocked a cleartext HTTP
1. Navigate to the “Info” Panel in your app target.
2. Add a new key titled “NSAppTransportSecurity” with type Dictionary
3. Add a new key under the one you just created with the name “NSAllowsArbitraryLoads” with type Boolean and value YES
Source:
http://www.looneydoodle.com/2015/07/ios9-app-transport-security-policy/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment