Skip to content

iOS 9 Considerations

Tim Kelly edited this page Dec 18, 2015 · 2 revisions

Important note for iOS 9

Apple introduced App Transport Security (ATS) in iOS 9. This requires apps to use https:// only, to enhance security. This SDK uses only https:// however, some data returned may not. For example, a product image URL or Advertisement creative. If this is the case, ATS may need to be disabled for your image hosting domain.

In order to ensure proper functionality, ATS can be disabled by adding the the following XML to your project's Info.plist file.

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

NOTE: The sample above should only be used for initial testing and development. For your production application, you should have a whitelisted set of domains under the NSExceptionDomains key.