FBNavigationController.m 566 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import "FBNavigationController.h"
  10. @implementation FBNavigationController
  11. #if !TARGET_OS_TV
  12. - (UIInterfaceOrientationMask)supportedInterfaceOrientations
  13. {
  14. return UIInterfaceOrientationMaskAll;
  15. }
  16. #endif
  17. - (BOOL)shouldAutorotate
  18. {
  19. return YES;
  20. }
  21. @end