AI-generated Key Takeaways
- 
          
App Transport Security (ATS) is a privacy feature that enforces secure connections and is enabled by default for new apps.
 - 
          
Non-ATS compliant apps attempting to serve ads using HTTP will be blocked and a log message will appear.
 - 
          
To disable ATS restrictions for ads, add the
NSAllowsArbitraryLoadsForMediaandNSAllowsArbitraryLoadsInWebContentexceptions to your app'sInfo.plistfile. - 
          
The
NSAllowsArbitraryLoadsForMediaandNSAllowsArbitraryLoadsInWebContentkeys are required to prevent ATS from impacting your ads. 
App Transport Security (ATS) is a privacy feature that enforces secure connections. It's enabled by default for new apps.
The following log message appears when a non-ATS compliant app attempts to serve an ad using HTTP:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured in your app's
Info.plistfile.
To disable ATS restrictions, add the following exceptions to your app's
Info.plist:
NSAllowsArbitraryLoadsForMediaNSAllowsArbitraryLoadsInWebContent
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoadsForMedia</key>
    <true/>
    <key>NSAllowsArbitraryLoadsInWebContent</key>
    <true/>
</dict>
The NSAllowsArbitraryLoadsForMedia and NSAllowsArbitraryLoadsInWebContent
keys are required to make sure your ads are not impacted by ATS.