This commit is contained in:
2025-11-20 19:57:11 +08:00
parent 75d2e4072a
commit b2994adc1c
4 changed files with 31 additions and 5 deletions

View File

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