|
@@ -0,0 +1,32 @@
|
|
|
+//
|
|
|
+// ZZNavigationController.m
|
|
|
+// ZZUIKit
|
|
|
+//
|
|
|
+// Created by Max on 2021/5/18.
|
|
|
+//
|
|
|
+
|
|
|
+#import "ZZNavigationController.h"
|
|
|
+
|
|
|
+@interface ZZNavigationController ()
|
|
|
+
|
|
|
+@end
|
|
|
+
|
|
|
+@implementation ZZNavigationController
|
|
|
+
|
|
|
+- (void)viewDidLoad {
|
|
|
+ [super viewDidLoad];
|
|
|
+ // Do any additional setup after loading the view.
|
|
|
+}
|
|
|
+
|
|
|
+-(UIInterfaceOrientationMask)supportedInterfaceOrientations{
|
|
|
+ return [self.topViewController supportedInterfaceOrientations];
|
|
|
+}
|
|
|
+
|
|
|
+-(BOOL)shouldAutorotate{
|
|
|
+ return [self.topViewController shouldAutorotate];
|
|
|
+}
|
|
|
+
|
|
|
+-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
|
|
|
+ return [self.topViewController preferredInterfaceOrientationForPresentation];
|
|
|
+}
|
|
|
+@end
|