title: NSAppTransportSecurity UIWebView issue
body: <p>I have these lines in my info.plist file:</p>
  
  <pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;NSExceptionDomains&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;mysebserver.com&lt;/key&gt;
              &lt;dict&gt;
                  &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
                  &lt;true/&gt;
                  &lt;key&gt;NSTemporaryExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
                  &lt;true/&gt;
                  &lt;key&gt;NSTemporaryExceptionMinimumTLSVersion&lt;/key&gt;
                  &lt;string&gt;TLSv1.1&lt;/string&gt;
              &lt;/dict&gt;
          &lt;/dict&gt;
      &lt;/dict&gt;
  </code></pre>
  
  <p>So it works perfect with my API calls.</p>
  
  <p>In my view controller I have UIWebView that tries to display web content:</p>
  
  <pre><code>NSURLRequest* request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.webSiteUrlSting] cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:30];
  
  [self.theWebView loadRequest:request];
  </code></pre>
  
  <p>on iOS7 and iOS8 it works great, but on iOS9 it shows an error after invocation UIWebView delegate <code>- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error</code>:</p>
  
  <blockquote>
    <p>App Transport Security has blocked a cleartext HTTP (http://) resource
    load since it is insecure. Temporary exceptions can be configured via
    your app's Info.plist file.</p>
  </blockquote>
  
  <p>The delegate method contain error instance that looks like this:</p>
  
  <blockquote>
    <p>Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be
    loaded because the App Transport Security policy requires the use of a
    secure connection." UserInfo={NSUnderlyingError=0x7fbaa253ba20 {Error
    Domain=kCFErrorDomainCFNetwork Code=-1022 "The resource could not be
    loaded because the App Transport Security policy requires the use of a
    secure connection."
    UserInfo={NSErrorFailingURLStringKey=requestedwebsite.com,
    NSLocalizedDescription=The resource could not be loaded because the
    App Transport Security policy requires the use of a secure
    connection.,
    NSErrorFailingURLKey=requestedwebsite.com}},
    NSErrorFailingURLStringKey=requestedwebsite.com,
    NSErrorFailingURLKey=requestedwebsite.com,
    NSLocalizedDescription=The resource could not be loaded because the
    App Transport Security policy requires the use of a secure
    connection.}</p>
  </blockquote>
  
  <p>My question is how to keep my API requests work and make UIWebView work as well.</p>