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 :
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:
http://
I tried this URL -> http://linux-training.be/linuxfun.pdf
and it works prfect. –
Personify © 2022 - 2024 — McMap. All rights reserved.