Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

Documentation for MPMusicPlayerController.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top