I am very new to iOS Programming and have been learning for only a month or two. My plan is to download files from websites. I am using MKNetworkKit and learning a little bit and testing it. I can download the file from the web but I cannot pause or cancel the download. I looked through the code but I don't know how to cancel the operation in the middle of the download. What I want to do is create a cancel button and when I hit it, it will trigger IBAction to cancel the download process. Another step is pause the download.
You cannot pause a request. You can however cancel it and if your server supports Range headers, MKNetworkKit automatically resumes your download.