Codepath

Internet Permissions

iOS 9 is more secure about downloading from the internet, and you often have to disable that security to download images.

In the info.plist file, you can use NSAllowsArbitraryLoads to completely disable ATS in your app:

Imgur

Step 1

Right-Click info.plist and Open As -> Source Code. This will open the file in XML format.

  • Add the following to the bottom of the info.plist xml file.
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key><true/>
</dict>

Note where it is in the context of the rest of the xml file.

Add NSAllowsArbitraryLoads|600

Read More

Working with Apple's App Transport Security

Fork me on GitHub