设置UIButton的Title的显示模式
2016-06-23 本文已影响23人
歌余
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
button.imageEdgeInsets = UIEdgeInsetsMake(3, 12, 3, 9);
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
button.imageEdgeInsets = UIEdgeInsetsMake(3, 12, 3, 9);