iOS:default set clipToBounds = YES

This commit is contained in:
pengfei.zhou 2020-04-27 18:03:33 +08:00 committed by osborn
parent 93a2ee24d3
commit a23aa8df0f

View File

@ -123,6 +123,7 @@ - (void)initWithSuperNode:(DoricSuperNode *)superNode {
} }
self.superNode = superNode; self.superNode = superNode;
self.view = [self build]; self.view = [self build];
self.view.clipsToBounds = YES;
} }
- (UIView *)build { - (UIView *)build {