want to create an audio playlist dynamically by using ".plist" file an then want to play it in iphone in built audio player
I want to create an audio playlist dynamically by using ".plist" file an then want to play it in iphone in built audio player. But during creation 开发者_如何学运维of audio list in plist there is no option in "type" to select data type for audio file. Plz guide any one what approach I should follow ?
I'm not sure if I understood your question correctly. Can you specify what APIs you are using and what you are trying to do with more detail?
As far as Property Lists go, they are very generic so there wouldn't be anything for audio files in particular. You could specify the data type as a string.
How to approach this: First of all, you need to read the list into an NSArray and use that to generate a table view with your track listing (use tableView:didDeselectRowAtIndexPath: to start playing a track upon the user selecting it). To play a track use AVAudioPlayer.
精彩评论