在xcode中添加ui按钮时,我使用以下代码设置标题标签的文本颜色、对齐方式和字体大小。拾取字体大小而不是文本颜色和对齐方式,为什么?谢谢。toButton.titleLabel.textColor=[UIColorredColor];toButton.titleLabel.textAlignment=UITextAlignmentRight;toButton.titleLabel.font=[UIFontboldSystemFontOfSize:FONT_SIZE];[toButtonsetTitle:fromButton.titleLabel.textforState:UICont