简体   繁体   中英

ios9 Image Download

In iOS9, I can't download image form two domain. Always only one domain's image can download.

The error message show that

error:Error Domain=NSURLErrorDomain Code=404

I already add this

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict> 

Anyone can help me?

There is a little bit too less of information to give a definite answer. It does not seem to be an authentication or security issue.

However: 404 means, the URL (File) you are trying to reach cannot be found, are you sure the link/url is correct?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM