We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isPlaying() status is changed asynchronized, so that could happen.
那怎么解决这个问题啊
No good solution, for now. But you can check the status periodly, as a work around.
// status BOOL isPlaying = [self.delegatePlayer isPlaying]; self.playButton.hidden = isPlaying; self.pauseButton.hidden = !isPlaying;
demo里面 为什么能够准确的获取 isPlaying 的状态呢?
It is changed asynchronized, that's to say, you don't know when it will be changed.
Alright,Thanks a lot
Activity
bbcallen commentedon Jun 7, 2016
isPlaying() status is changed asynchronized, so that could happen.
LikeSpeedSong commentedon Jun 8, 2016
那怎么解决这个问题啊
bbcallen commentedon Jun 12, 2016
No good solution, for now.
But you can check the status periodly, as a work around.
Gagster commentedon Jun 14, 2016
// status
BOOL isPlaying = [self.delegatePlayer isPlaying];
self.playButton.hidden = isPlaying;
self.pauseButton.hidden = !isPlaying;
demo里面 为什么能够准确的获取 isPlaying 的状态呢?
bbcallen commentedon Jun 15, 2016
It is changed asynchronized, that's to say, you don't know when it will be changed.
Gagster commentedon Jun 16, 2016
Alright,Thanks a lot