initial commit

This commit is contained in:
Caleb
2026-03-01 15:59:27 +08:00
commit a9e97d56cb
1426 changed files with 172367 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//
// UINavigationController+Orientation.m
// AVDemo
//
// ViewController
//
#import "UINavigationController+Orientation.h"
@implementation UINavigationController (Orientation)
- (BOOL)shouldAutorotate {
// ViewController
return [self.topViewController shouldAutorotate];
}
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
// ViewController
return [self.topViewController supportedInterfaceOrientations];
}
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
// ViewController
return [self.topViewController preferredInterfaceOrientationForPresentation];
}
@end