Skip to content

Instantly share code, notes, and snippets.

@bobgodwinx
Last active February 8, 2016 09:15
Show Gist options
  • Save bobgodwinx/9635ae117a5cddf83809 to your computer and use it in GitHub Desktop.
Save bobgodwinx/9635ae117a5cddf83809 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