Skip to content

Instantly share code, notes, and snippets.

@fcaldarelli
Last active March 31, 2016 20:40
Show Gist options
  • Save fcaldarelli/00ef476bb7d3b3974676 to your computer and use it in GitHub Desktop.
Save fcaldarelli/00ef476bb7d3b3974676 to your computer and use it in GitHub Desktop.
Enable App Transport Security over HTTP protocol
// To check possible confiugrations of NSAppTransportSecurity, launch this command:
nscurl --verbose --ats-diagnostics https://example.com
otherwise
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment