iOS:use image to implement gradient background color

This commit is contained in:
pengfei.zhou
2020-04-09 13:30:31 +08:00
committed by osborn
parent 410c01ba1c
commit ab11ee3372
4 changed files with 70 additions and 48 deletions

View File

@@ -157,6 +157,7 @@ - (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
}
- (void)requestLayout {
[super requestLayout];
for (DoricViewNode *node in self.childNodes) {
[node requestLayout];
}