Files
OrderScheduling/Pods/DDBasicControlsKit_Private/DDBasicControlsKit_Private/Classes/DDBaseViewController/DDBaseViewController.h
T
2023-10-26 14:27:48 +08:00

30 lines
953 B
Objective-C

//
// DDBaseViewController.h
// DDBasicControlsKit_Private
// Created by DDIsFriend on 2022/10/27.
#import <UIKit/UIKit.h>
#import <DDCategoryKit_Private/UIViewController+DDCategory.h>
NS_ASSUME_NONNULL_BEGIN
@interface DDBaseViewController : UIViewController
@property (nonatomic, strong, nullable) NSString *dd_navigationItemTitle;
@property (nonatomic, strong, nullable) UIView *dd_navigationItemTitleView;
@property (nonatomic, strong, nullable) UIBarButtonItem *dd_backBarButtonItem; //Default custom backItem, This item contains a customView consist of a button.
- (void)defaultBackActionPopViewController; // default back action
- (void)dd_backButtonWithImage:(nullable UIImage *)backButtonImage action:(SEL)sel;
- (void)dd_backActionPopViewController:(BOOL)isAnimated;
- (void)dd_backActionPopToRootViewController:(BOOL)isAnimated;
- (void)dd_setInterfaceOrientation:(UIInterfaceOrientation)orientation;
@end
NS_ASSUME_NONNULL_END