jjzjj

rootBntUI

全部标签

ios - UIbutton标题行间距

我用这段代码构建了一个带有两个标题行的按钮:rootBntUI.titleLabel.font=[UIFontfontWithName:@"Avenir-Black"size:UserListFontSize];[rootBntUI.layersetBorderWidth:0];rootBntUI.titleLabel.textColor=[UIColorwhiteColor];rootBntUI.titleLabel.lineBreakMode=NSLineBreakByTruncatingTail;rootBntUI.titleLabel.textAlignment=NSTextA