ios - What is the diff between AVAudioPlayer vs MPMusicPlayerController -


which 1 better , difference between them, avaudioplayer or mpmusicplayercontroller.

please share ideas. thank you, madan mohan.

avaudioplayer able play 1 song @ time. cannot access ipod library means cannot play songs present in user's ipod's library. biggest advantage see avaudioplayer can play songs when app in background.

mpmusicplayercontroller used play songs playlist pick using mpmediapickercontroller ipod library plus point. accesses many properties of song avaudioplayer cannot. cannot play music in background.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -