iOS Error Code=-1003 “A server with the specified hostname could not be found.”

前端 未结 5 2047
故里飘歌
故里飘歌 2021-02-07 01:45

I am trying to load image from URL on the iphone, image is there and I can open it in safari with same link, but not in the app:

Error Domain=NSURLErrorDomain Co         


        
5条回答
  •  无人共我
    2021-02-07 02:12

    This error would suggest as DNS related issue.There is some problem with DNS server reached through our WiFi network. So we change DNS server and fix this problem. Remove cache and try again.

    If there is a url you can GET (instead POST) on the same server.

    And Also, turning off wifi and using 3G makes the error go away.

提交回复
热议问题