Sfoglia il codice sorgente

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

Gleb Pinigin 12 anni fa
parent
commit
1b1cc5243c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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