react-native-navigation的迁移库

RNNNavigationOptions.h 1.3KB

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