tags:

views:

15

answers:

1

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.

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