I have not found an answer to this question anywhere, but this seems like a typical problem:
I would like to send some POST requests (with ASIHTTPRequest, which I already do), but if something goes wrong, the user can decide "Try later", then the task must be queued and this queue should be read the next time you start the application. So my question is: how to โsaveโ the queue so that the application can read it next time? Is it possible to "read" the queue and try to send this POST request again, for example, after 10 minutes, even if the application does not work?
What documentation should I read to be able to do this?
I would be very happy to hear any answers. Thanks in advance.
PS: I have another idea: since I just need to upload photos, I may have a folder with all the photos that still need to be downloaded, and when the application starts, the application looks at this folder and tries to send all the photos in this folder. Does it make sense?
source share