Browse Source

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 years ago
parent
commit
96103d68e5
1 changed files with 0 additions and 7 deletions
  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)