feat:add Rotation for iOS

This commit is contained in:
pengfei.zhou
2019-11-27 10:19:25 +08:00
parent 2fbf4602e8
commit 3c04e7cde1
4 changed files with 27 additions and 6 deletions

View File

@@ -109,4 +109,11 @@ - (void)blendView:(DoricScrollView *)view forPropName:(NSString *)name propValue
- (void)blendSubNode:(NSDictionary *)subModel {
[self.childNode blend:subModel[@"props"]];
}
- (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
if ([viewId isEqualToString:self.childViewId]) {
return self.childNode;
}
return nil;
}
@end