瀏覽代碼

handle remoteControl events for next and back

Carola Nitz 11 年之前
父節點
當前提交
b4f67543dd
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Sources/VLCMovieViewController.m

+ 3 - 0
Sources/VLCMovieViewController.m

@@ -716,12 +716,15 @@
 
         case UIEventSubtypeRemoteControlNextTrack:
             [self forward:nil];
+            break;
 
         case UIEventSubtypeRemoteControlPreviousTrack:
             [self backward:nil];
+            break;
 
         case UIEventSubtypeRemoteControlStop:
             [self closePlayback:nil];
+            break;
 
         default:
             break;