iOS:fix Refreshable

This commit is contained in:
pengfei.zhou
2020-04-08 15:20:38 +08:00
committed by osborn
parent b17ff48c59
commit 5babfb4c9c
3 changed files with 38 additions and 12 deletions

View File

@@ -100,7 +100,6 @@ - (void)blendContent {
self.view.contentView = it.view;
}];
}
[self.view.contentView.doricLayout apply:self.view.frame.size];
}
- (void)blendHeader {
@@ -137,7 +136,13 @@ - (void)blendHeader {
self.view.headerView = it.view;
}];
}
}
- (void)requestLayout {
[self.view.headerView.doricLayout apply:self.view.frame.size];
self.view.headerView.bottom = 0;
self.view.headerView.centerX = self.view.width / 2;
[self.view.contentView.doricLayout apply:self.view.frame.size];
}
- (void)blendSubNode:(NSDictionary *)subModel {