react-native-navigation的迁移库

RNNNavigationOptions.h 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. extern const NSInteger BLUR_STATUS_TAG;
  4. extern const NSInteger BLUR_TOPBAR_TAG;
  5. @interface RNNNavigationOptions : NSObject
  6. @property (nonatomic, strong) NSNumber* topBarBackgroundColor;
  7. @property (nonatomic, strong) NSNumber* topBarTextColor;
  8. @property (nonatomic, strong) NSNumber* statusBarHidden;
  9. @property (nonatomic, strong) NSString* title;
  10. @property (nonatomic, strong) NSNumber* screenBackgroundColor;
  11. @property (nonatomic, strong) NSString* topBarTextFontFamily;
  12. @property (nonatomic, strong) NSNumber* topBarHidden;
  13. @property (nonatomic, strong) NSNumber* topBarHideOnScroll;
  14. @property (nonatomic, strong) NSNumber* topBarButtonColor;
  15. @property (nonatomic, strong) NSNumber* topBarTranslucent;
  16. @property (nonatomic, strong) NSString* tabBadge;
  17. @property (nonatomic, strong) NSNumber* topBarTextFontSize;
  18. @property (nonatomic, strong) id orientation;
  19. @property (nonatomic, strong) NSArray* leftButtons;
  20. @property (nonatomic, strong) NSArray* rightButtons;
  21. @property (nonatomic, strong) NSNumber* topBarNoBorder;
  22. @property (nonatomic, strong) NSNumber* statusBarBlur;
  23. @property (nonatomic, strong) NSNumber* statusBarHideWithTopBar;
  24. @property (nonatomic, strong) NSNumber* tabBarHidden;
  25. @property (nonatomic, strong) NSNumber* topBarBlur;
  26. - (UIInterfaceOrientationMask)supportedOrientations;
  27. -(instancetype)init;
  28. -(instancetype)initWithDict:(NSDictionary *)navigationOptions;
  29. -(void)applyOn:(UIViewController*)viewController;
  30. -(void)mergeWith:(NSDictionary*)otherOptions;
  31. @end