title: How to Enable TLS 1.2, 1.1,1.0, and SSL in iOS app?
body: <p>My question is related to Apple Transport Security (ATS) and I am too much confused.</p>
  
  <p>I want to support all the protocols (all version of TLS and SSL) in my swift app. If I change NSAllowsArbitraryLoads to false, will app work on all protocols by default? Or do I have to specify domain in configuration and add NSExceptionMinimumTLSVersion? </p>
  
  <pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
  &lt;dict&gt;
      &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
      &lt;false/&gt;
       &lt;key&gt;NSExceptionDomains&lt;/key&gt;
  &lt;dict&gt;
      &lt;key&gt;your.servers.domain.here&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
          &lt;true/&gt;
          &lt;key&gt;NSExceptionRequiresForwardSecrecy&lt;/key&gt;
          &lt;false/&gt;
          &lt;key&gt;NSExceptionMinimumTLSVersion&lt;/key&gt;
          &lt;string&gt;TLSv1.0&lt;/string&gt;
      &lt;/dict&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p></p>
  
  <p>And how can I check my app is communicating with server on what protocol?</p>