1
我有一個問題,MPMusicPlayerControllerNowPlayingItemDidChangeNotification沒有得到調用。我用MPMusicPickerController使用它,但它似乎不工作。在UIView的負載我做的:未調用MPMusicPlayerControllerNowPlayingItemDidChangeNotification?
[[NSNotificationCenter defaultCenter] addObserver:@"PlayingItemChanged"
selector:@selector(handleNowPlayingItemChanged:)
name:MPMusicPlayerControllerNowPlayingItemDidChangeNotification
object:musicPlayer];
我有方法設置,每當我做了musicPlayer播放或停止或任何方法不會被調用。這有什麼理由嗎?
謝謝!