iOS:use image to implement gradient background color
This commit is contained in:
@@ -66,6 +66,7 @@ - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
|
||||
|
||||
- (void)requestLayout {
|
||||
[self.childNodes forEachIndexed:^(DoricViewNode *node, NSUInteger idx) {
|
||||
[node requestLayout];
|
||||
[node.view.doricLayout apply:self.view.frame.size];
|
||||
node.view.left = idx * self.view.width;
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user