Вопрос

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