PPBadgeView
PPBadgeView copied to clipboard
<Bug>UIButton在setImage之后,添加的数字badge会默认显示在左上角
贴出你创建UIButton的代码, 在左上角是可能是因为在UIButton的frame为0时, 就设置了Badge @ChokShen
请问,给UIButton.imageView添加badge,结果出现四分之一的园
请问,给UIButton.imageView添加badge,结果出现四分之一的园
button.imageView.layer.masksToBounds = false;