feat:align android and iOS image's default scale type
This commit is contained in:
@@ -39,6 +39,7 @@ @implementation DoricImageNode
|
||||
- (UIImageView *)build {
|
||||
return [[YYAnimatedImageView new] also:^(UIImageView *it) {
|
||||
it.clipsToBounds = YES;
|
||||
it.contentMode = UIViewContentModeScaleAspectFill;
|
||||
}];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user