Browse Source

VPNC: add support for ATV

Felix Paul Kühne 9 years ago
parent
commit
f14b17c56e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Sources/VLCPlaybackNavigationController.m

+ 4 - 0
Sources/VLCPlaybackNavigationController.m

@@ -11,7 +11,9 @@
  *****************************************************************************/
 
 #import "VLCPlaybackNavigationController.h"
+#if TARGET_OS_IOS
 #import "VLCMovieViewController.h"
+#endif
 
 @interface VLCPlaybackNavigationController ()
 
@@ -24,6 +26,7 @@
     return [self.topViewController supportedInterfaceOrientations];
 }
 
+#if TARGET_OS_IOS
 - (BOOL)shouldAutorotate
 {
     id topVC = self.topViewController;
@@ -32,5 +35,6 @@
 
     return YES;
 }
+#endif
 
 @end