# ATS Configuration for DT Exchange SDK

App Transport Security (ATS) Settings is an Apple security feature that enforces HTTPS connections for encrypted and secure data transmission. However, many advertising networks and partners still rely on HTTP connections to optimize performance and maximize revenue. For this reason, Digital Turbine recommends enabling HTTP for your app.

In Xcode, this is defined by **Allow Arbitrary Downloads** property, which you can set either from the property list editor or by directly editing the content of the `Info.plist` file.

### Enabling HTTP Connections from Property List Editor <a href="#h_01jfpzfs4swhd6djrex2exbz2w" id="h_01jfpzfs4swhd6djrex2exbz2w"></a>

In Xcode property list editor, make sure that **Allow Arbitrary Downloads** property under **App Transport Security Settings** is set to `YES`. If necessary, see instructions at [Xcode Help on editing property lists](https://help.apple.com/xcode/mac/current/#/dev3f399a2a6).

<div align="left" data-with-frame="true"><img src="/files/H6NPmE5zfkHwKF3nhkPP" alt=""></div>

### Enabling HTTP Connections by Editing the `Info.plist` File <a href="#id-01jfpznsh10jsw0jxebk83f8vz" id="id-01jfpznsh10jsw0jxebk83f8vz"></a>

{% hint style="info" %}
In the `Info.plist` file, the **Allow Arbitrary Downloads** property is represented by `NSAllowsArbitraryLoads` key. For more information, see [Apple developer documentation on NSAllowsArbitraryLoads key](https://developer.apple.com/documentation/bundleresources/information-property-list/nsapptransportsecurity/nsallowsarbitraryloads).
{% endhint %}

To enable HTTP connections, copy and paste the following code snippet in the `Info.plist` file of your Xcode project:

{% code title="XML" %}

```xml
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
   <true/>
</dict>
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalturbine.com/dt-exchange/publishers/sdk-configuration/integrating-the-ios-sdk/ats-configuration-for-dt-exchange-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
