This commit is contained in:
2025-11-19 19:15:28 +08:00
parent 4108aed4e0
commit 0196128008
2 changed files with 14 additions and 121 deletions

View File

@@ -38,7 +38,7 @@
if (!self.iconView) {
UIImageView *iv = [[UIImageView alloc] initWithFrame:CGRectZero];
//
iv.contentMode = UIViewContentModeScaleAspectFill;
iv.contentMode = UIViewContentModeScaleAspectFit;
iv.clipsToBounds = YES;
iv.translatesAutoresizingMaskIntoConstraints = NO;
[self addSubview:iv];