I need to download an audio file from the net and want to play it Using AVAudioPlayer.can any one give me suggestions how to do this.
views:
15answers:
1
A:
you can use the NSURLConnection if you save the file in the server. the following is the link: http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html#//apple_ref/occ/clm/NSURLConnection/sendSynchronousRequest:returningResponse:error:
This is the method name sendSynchronousRequest:returningResponse:error:
For the playlist, I am not used before, so cannot help you. Good luck.
Questions
2010-08-23 10:10:32