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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -