iphone sdk: pausing NSURLConnection? -


In my app I give the user the ability to download files from the server. For this I use NSURLConnection, I want to give the user the ability to stop and resume downloads by tapping a button. Apart from calling the cancellation method and then creating a new NSURL connection I could not find any way to do this. So what is a great way to stop NSURLConnection?

Thanks

This is the only method I know about if your server " Range: "Header supports, you can make a new connection and it can be picked where the second one is omitted.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -