ATS setting NSAllowsArbitraryLoadsInWebContent not working
<p>I am trying to get the ATS setting NSAllowsArbitraryLoadsInWebContent working in my iOS app and for some reason, the setting seems be be ignored. I put together a quick test app to make sure none of my other Info.plist settings were breaking things, but insecure links are still getting rejected in both UIWebViews and WKWebViews. Here are the ATS settings in my Info.plist file:</p>

<pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
&lt;dict&gt;
    &lt;key&gt;NSAllowsArbitraryLoadsInWebContent&lt;/key&gt;
    &lt;true/&gt;
&lt;/dict&gt;
</code></pre>

<p>And here is my the code in my controller with the UIWebView:</p>

<pre><code>  override func viewDidLoad() {
        super.viewDidLoad()
        webView.delegate = self
        let url = URL(string: "https://www.salliemae.com/smartoption/")
        let request = URLRequest(url: url!)
        self.webView.loadRequest(request)
    }
</code></pre>

<p>Any help would be appreciated.</p>