瀏覽代碼

版本升级维护

yyqxiaoyin 5 年之前
父節點
當前提交
01d7ff0523
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

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

@@ -324,6 +324,9 @@ NSURL * MKRUrlWithString(NSString *string){
 
 - (void)failedToPlayToEndTimeError:(NSNotification *)note{
     NSLog(@"错误e没结束");
+    if (self.delegate && [self.delegate respondsToSelector:@selector(didFailedToPlayToEndTime)]) {
+        [self.delegate didFailedToPlayToEndTime];
+    }
 }
 
 - (void)moviePlayDidEnd:(NSNotification *)note{