Ver código fonte

版本升级维护

yyqxiaoyin 5 anos atrás
pai
commit
01d7ff0523

+ 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{