react-native-navigation的迁移库

RNNNavigationOptions.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. - (UIInterfaceOrientationMask)supportedOrientations;
  24. -(instancetype)init;
  25. -(instancetype)initWithDict:(NSDictionary *)navigationOptions;
  26. -(void)applyOn:(UIViewController*)viewController;
  27. -(void)mergeWith:(NSDictionary*)otherOptions;
  28. -(void)storeOriginalTopBarImages:(UIViewController*)viewController;
  29. @end