1
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user