react-native-navigation的迁移库

RNNNavigationOptions.h 1.6KB

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