浏览代码

VLCMovieViewcontroller: remove iPhone specific behavior

Since we're having two xibs for iPhone and iPad this block was necessary since the trackselector
on iPhone was previously displayed in the bottom of the phone, overlapped by the controls.
With the refactor we don't need device specific behavior anymore since the controls always appear centered on screen
Carola Nitz 7 年之前
父节点
当前提交
96103d68e5
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      Sources/VLCMovieViewController.m

+ 0 - 7
Sources/VLCMovieViewController.m

@@ -1057,13 +1057,6 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
         if (!_playbackSpeedViewHidden)
             self.playbackSpeedView.hidden = _playbackSpeedViewHidden = YES;
 
-        if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
-            if (!_controlsHidden) {
-                self.controllerPanel.hidden = _controlsHidden = YES;
-                self.navigationController.navigationBar.hidden = YES;
-            }
-        }
-
         self.videoFilterView.hidden = _videoFiltersHidden = YES;
 
         for (UIGestureRecognizer *recognizer in self.view.gestureRecognizers)