react-native-navigation的迁移库

RNNNavigationOptions.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNTopBarOptions.h"
  4. #import "RNNTabBarOptions.h"
  5. #import "RNNSideMenuOptions.h"
  6. extern const NSInteger BLUR_STATUS_TAG;
  7. extern const NSInteger BLUR_TOPBAR_TAG;
  8. extern const NSInteger TOP_BAR_TRANSPARENT_TAG;
  9. @interface RNNNavigationOptions : NSObject
  10. @property (nonatomic, strong) NSNumber* statusBarHidden;
  11. @property (nonatomic, strong) NSNumber* screenBackgroundColor;
  12. @property (nonatomic, strong) NSMutableDictionary* originalTopBarImages;
  13. @property (nonatomic, strong) NSString* backButtonTransition;
  14. @property (nonatomic, strong) id orientation;
  15. @property (nonatomic, strong) NSArray* leftButtons;
  16. @property (nonatomic, strong) NSArray* rightButtons;
  17. @property (nonatomic, strong) NSNumber* statusBarBlur;
  18. @property (nonatomic, strong) NSNumber* statusBarHideWithTopBar;
  19. @property (nonatomic, strong) NSNumber* popGesture;
  20. @property (nonatomic, strong) RNNTopBarOptions* topBar;
  21. @property (nonatomic, strong) RNNTabBarOptions* bottomTabs;
  22. @property (nonatomic, strong) RNNSideMenuOptions* sideMenu;
  23. @property (nonatomic, strong) UIImage* backgroundImage;
  24. @property (nonatomic, strong) UIImage* rootBackgroundImage;
  25. - (UIInterfaceOrientationMask)supportedOrientations;
  26. -(instancetype)init;
  27. -(instancetype)initWithDict:(NSDictionary *)navigationOptions;
  28. -(void)applyOn:(UIViewController*)viewController;
  29. -(void)mergeWith:(NSDictionary*)otherOptions;
  30. -(void)storeOriginalTopBarImages:(UIViewController*)viewController;
  31. @end