Reputation: 691
I used same setting for enabling arbitrary load but now i faced some issues.I used alamofire for json parsing.
info.plist settings:
and error is :
Upvotes: 7
Views: 12411
Reputation: 5689
NSAppTransportSecurity
provides the network layer security and only allow http secured urls.
There are 2 ways to solve this:
Case 1:
In your code you are using an unsecure url with http://
replace it with https://
, then it will work.
Case 2:
If you don't have ssl enabled url then, allow your url in Exception Domains
as:
Upvotes: 3