1.字体适应UIButton大小
UIButton *btn = [[UIButton alloc]init];
btn.titleLable.adjustsFontSizeToFitWidth = YES;
1.字体适应UIButton大小
UIButton *btn = [[UIButton alloc]init];
btn.titleLable.adjustsFontSizeToFitWidth = YES;
转载于:https://my.oschina.net/u/2365397/blog/1535867