Open lsn-sokna opened 9 years ago
use the same instance of audioplayer . create a shared instance for it (static way)
Ok! I got what you meant. Thank you! I'll ask you for more problem.
One more question is, is it possible to detect now playing song? My app will play music streaming.
Thanks!
check /// The QueueItemId of the currently playing item -(NSObject*) currentlyPlayingQueueItemId; and then check the state of it
I have a list of music URL, and once I select one of it and play, it's okay. but when I dismiss the viewcontroller (back) and select another song to play, the old one doesn't stop. I tried to use [audioPlayer stop]; but it didn't work for me.
Sorry for me English! If you don't get it any points, just ask!
Thanks