HTTP status code 0 - Error Domain=NSURLErrorDomain?

后端 未结 12 2269
予麋鹿
予麋鹿 2020-11-27 14:58

I am working on an iOS project.

In this application, I am downloading images from the server.

Problem:

While downloading images I a

12条回答
  •  庸人自扰
    2020-11-27 15:55

    Status code '0' can occur because of three reasons
    1) The Client cannot connect to the server
    2) The Client cannot receive the response within the timeout period
    3) The Request was "stopped(aborted)" by the Client.

    But these three reasons are not standardized

提交回复
热议问题