How to use NSURLRequest / NSURLConnection to upload mp3 file to application?

Situation
In my application, I am currently uploading an mp3 file (to the docs directory) using [NSData dataWithContentsOfURL:URL] , a method that works fine but binds the processor without allowing the loading status screen to be updated. So, I want to load using another method to refresh the WHILE screen to warn the user about the start of the download.

Question
How to configure my viewController to use NSURLRequest or NSURLConnection to download mp3 file? (please indicate the source)

+6
iphone xcode nsurlconnection nsurlrequest
source share
1 answer

Use "NSURLConnection asynchronously" to search for a term, and you will find the source. Or just NSURLConnection.

For example:

NSURLConnection NSURLRequest Proxies for Asynchronous Web Service Calls

+8
source share

All Articles