Jelajahi Sumber

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 tahun lalu
induk
melakukan
96103d68e5
1 mengubah file dengan 0 tambahan dan 7 penghapusan
  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)