I found several similar questions on StackOverflow but none of them solve my problem.
I am trying to get a image from a url. Here\'s how I do it:
let
This is probably a result of Apple's new app transport security denying a non-HTTPS request. To work around this you need to modify your app's Info.plist
file. You can either define an exception for that particular domain
NSAppTransportSecurity
NSExceptionDomains
pic3.zhimg.com
NSIncludesSubdomains
NSTemporaryExceptionAllowsInsecureHTTPLoads
or disable ATS altogether
NSAppTransportSecurity
NSAllowsArbitraryLoads