Skip to content

Instantly share code, notes, and snippets.

@Marneus68
Created March 21, 2016 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marneus68/5c64c5956c504137ed28 to your computer and use it in GitHub Desktop.
Save Marneus68/5c64c5956c504137ed28 to your computer and use it in GitHub Desktop.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>yourserver.com</key>
<dict>
<!--Include to allow subdomains-->
<key>NSIncludesSubdomains</key>
<true/>
<!--Include to allow HTTP requests-->
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<!--Include to specify minimum TLS version-->
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment