react-native-navigation的迁移库

RNNStatusBarOptions.m 494B

12345678910111213141516171819
  1. #import "RNNStatusBarOptions.h"
  2. #import "UIViewController+RNNOptions.h"
  3. @implementation RNNStatusBarOptions
  4. - (instancetype)initWithDict:(NSDictionary *)dict {
  5. self = [super init];
  6. self.blur = [BoolParser parse:dict key:@"blur"];
  7. self.hideWithTopBar = [BoolParser parse:dict key:@"hideWithTopBar"];
  8. self.visible = [BoolParser parse:dict key:@"visible"];
  9. self.animate = [BoolParser parse:dict key:@"animate"];
  10. self.style = [TextParser parse:dict key:@"style"];
  11. return self;
  12. }
  13. @end