-
Notifications
You must be signed in to change notification settings - Fork 472
Internet Permissions
Roger Hu edited this page Oct 18, 2017
·
8 revisions
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:
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.