Explorar el Código

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 hace 7 años
padre
commit
96103d68e5
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  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)