Browse Source

版本升级维护

yyqxiaoyin 5 years atrás
parent
commit
fd13e569b7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

+ 3 - 0
MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

@@ -356,6 +356,9 @@ NSURL * MKRUrlWithString(NSString *string){
 
 - (BOOL)isPlaying
 {
+    if (self.state == MKRAVPlayerStatePlaying) {
+        return YES;
+    }
     if (!isFloatZero(_player.rate)) {
         return YES;
     } else {