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

前端 未结 5 1491
花落未央
花落未央 2021-02-07 01:41

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 01:52

    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.

提交回复
热议问题