title: App Transport Security breaks Web View
body: <p>My app which works great under iOS8 no longer runs under iOS9.  The problem is that despite having the following in my .plist file:</p>
  
  <pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
  &lt;dict&gt;
     &lt;!--Include to allow all connections (DANGER)--&gt;
     &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
     &lt;true/&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>The following code:</p>
  
  <pre><code>NSURL *targetURL = [NSURL URLWithString:_caseStudyListTitleURL];
  NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
  [_myWebView loadRequest:request];
  </code></pre>
  
  <p>results in the error:<br>
  NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)</p>
  
  <p>This of course leads to an empty webView being displayed.</p>
  
  <p>All other NSURLSession Code in the app is functioning correctly.</p>
  
  <p>I am running XCode 7 Beta 3 and iOS 9 on my test iPad.</p>
  
  <p>Any ideas on this would be greatly appreciated!</p>