1

I have an application where I send data to the server using NSURLConnection.. but there is a particular case where as soon as I hit the service and lock the iPhone. The data is received by the server but the connectionDidFail method is called inside the application.. is there any work around for this..?

Thanks for any inputs.

Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115
  • How much time it takes to receive the response to request (If you don't lock your iPhone)? – viral Mar 25 '13 at 09:24
  • So, in this case, you are locking the phone immediately on sending the request? You would like to have the successful request guaranteed to deliver to your app any time the server receives it? – gaige Mar 25 '13 at 09:24
  • The search for "background task while iphone is locked" -- You will find it easily. – viral Mar 25 '13 at 09:28
  • Is this transaction required to be exactly-once delivered to the server or at-least-once? – gaige Mar 25 '13 at 09:50

0 Answers0