Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sam006

macrumors newbie
Original poster
Sep 8, 2010
5
0
I used a NSURLConnections to download file, and I made a IBAction for cancel the download [connection cancel]; [connection release];
which is work if used I start the download then cancel it,
however if I start the download and then use navigationcontroller pushviewcontroller go to another view and the back to the download view, the cancel button will cannot the download


What should I do to fix this problem , which I can cancel the download even visited another page

thanks so much
 
Problem in cancel NSURLConnections with navigationcontroller(with code)

The zip file have my code and the download status can see in concole

thanks so much
 

Attachments

  • ChangeView.zip
    730.7 KB · Views: 75
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.