feat:add hidden

This commit is contained in:
pengfei.zhou 2019-12-10 13:44:08 +08:00
parent bf7a22a4d7
commit 6aa3c4bb83

View File

@ -260,6 +260,8 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
padding.bottom = [dictionary[@"bottom"] floatValue]; padding.bottom = [dictionary[@"bottom"] floatValue];
} }
self.view.padding = padding; self.view.padding = padding;
} else if ([name isEqualToString:@"hidden"]) {
self.view.hidden = [prop boolValue];
} else { } else {
DoricLog(@"Blend View error for View Type :%@, prop is %@", self.class, name); DoricLog(@"Blend View error for View Type :%@, prop is %@", self.class, name);
} }