質問

In my app , i have to play songs from iPod Library with MPMusicPlayerContrller's iPodMusicPlayer.

I just want to know , in my app , first song is playing from Album and when i want to play another song from Playlists that selected from UITableView do i need to use stop function [self.player stop]; before change next songs?

Or i can directly play without stop current playing song?

Thanks for your help.

役に立ちましたか?

解決

no need to stop.my question is "Why to stop?". no,never nothing, there is no need of stop. ios already given you facility of playing new song from playlist through the properties.

if you stops it & again play it,its just wastage of execution time.

他のヒント

Since you probably use skipToNextItem or skipToPreviousItem it's perfectly legit to use them directly.

Documentation for MPMusicPlayerController.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top