Explorar o código

Player: fix typo in autorotation method(iOS5.x)

Gleb Pinigin %!s(int64=12) %!d(string=hai) anos
pai
achega
1b1cc5243c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AspenProject/VLCMovieViewController.m

+ 1 - 1
AspenProject/VLCMovieViewController.m

@@ -649,7 +649,7 @@
 
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
     return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad
-           || toInterfaceOrientation != UIInterfaceOrientationMaskPortraitUpsideDown;
+           || toInterfaceOrientation != UIInterfaceOrientationPortraitUpsideDown;
 }
 
 #pragma mark - External Display