App Transport Security
ATS is a privacy feature in iOS that enforces secure HTTP connections (HTTPS) - it’s enabled by default. If you see the following log message, then a banner ad is attempting to use HTTP instead of HTTPS:
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.plist file.
Allowing HTTP Banners
By default, all banners must use HTTPS.
You can allow banners to also use HTTP by adding the following entries to your app’s Info.plist
file:
Key | Value |
---|---|
NSAppTransportSecurity | NSAllowsArbitraryLoadsForMedia : YES NSAllowsArbitraryLoadsInWebContent : YES |