iOS:fix Slider and rotation

This commit is contained in:
pengfei.zhou
2020-04-07 10:58:44 +08:00
committed by osborn
parent 102f570fb4
commit f3c8d1be31
10 changed files with 17 additions and 45 deletions

View File

@@ -161,6 +161,9 @@ - (void)layout {
}
- (void)setFrame {
if (!CGAffineTransformEqualToTransform(self.view.transform, CGAffineTransformIdentity)) {
return;
}
[self.view.subviews forEach:^(__kindof UIView *obj) {
[obj.doricLayout setFrame];
}];