1
This commit is contained in:
@@ -83,6 +83,10 @@
|
||||
if (CGRectGetHeight(bounds) <= 0 || CGRectGetWidth(bounds) <= 0) {
|
||||
return;
|
||||
}
|
||||
// 有皮肤图时,强制隐藏文字,避免图标与文本叠加
|
||||
if (self.iconView.image != nil) {
|
||||
self.titleLabel.hidden = YES;
|
||||
}
|
||||
self.bottomShadowLayer.frame = CGRectMake(0,
|
||||
CGRectGetHeight(bounds) - shadowHeight,
|
||||
CGRectGetWidth(bounds),
|
||||
|
||||
Reference in New Issue
Block a user