SPButton icon indicating copy to clipboard operation
SPButton copied to clipboard

自定义按钮,图片可在上、左、下、右,可调整图文间距,新增属性支持storyBoard/xib,系统按钮的所有属性和方法依然生效

Results 5 SPButton issues
Sort by recently updated
recently updated
newest added

button事先懒加载好,图片在右时,再次改变title文字长度,title和image会出现重叠。iOS13会自适应,title和image还是和之前一样,目前10不会自适应。

比如图片在上文字在下,使用 [bnt setAttributedTitle:[[NSMutableAttributedString alloc] initWithString:@"abcdefgh"] forState:UIControlStateNormal]; 图片没有居中,多行文字时会与文字重叠