Hibit_iOS/HiBit/Project/Player/Common/GKRotationManager/GKLandscapeViewController.h
2024-06-11 10:51:38 +08:00

38 lines
1001 B
Objective-C
Executable File

//
// GKLandscapeViewController.h
// Example
//
// Created by QuintGao on 2023/3/31.
// Copyright © 2023 QuintGao. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol GKLandscapeViewControllerDelegate;
@interface GKLandscapeViewController : UIViewController
@property (nonatomic, weak, nullable) id<GKLandscapeViewControllerDelegate> delegate;
@property (nonatomic, assign) BOOL disableAnimations;
@property (nonatomic, assign) BOOL statusBarHidden;
@property (nonatomic, assign) UIStatusBarStyle statusBarStyle;
@property (nonatomic, assign) UIStatusBarAnimation statusBarAnimation;
@end
@protocol GKLandscapeViewControllerDelegate <NSObject>
@optional
- (BOOL)viewControllerShouldAutorotate:(GKLandscapeViewController *)viewController;
- (void)viewController:(GKLandscapeViewController *)viewController viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
@end
NS_ASSUME_NONNULL_END