04 2018 档案
48.UIButton上的字体居右对齐
摘要:UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; button.titleLabel.textAlignment = NSTextAlignmentLeft;这行代码是没有效果的,只是标签中的文本右对齐,没有改变标签在按钮中的
阅读全文