I am using NSURLSessionTask with background session configuration in my application. The only nuisance I see is didCompleteWithError callback is not invoked if the network connection is disconnected at middle or the URL is not reachable. I see this behavior only when I configured background session.
I show a spinning wheel in my application if network call in progress, I stop it when I receive completion call back but unfortunately I could not stop the spinning wheel in the above case. Is there any solution to overcome this?
I really appreciate it, if you provide me a solution on this.