标签:字体 uibutton 字体位置 字体颜色 settitle
调整Title字体位置
[button setTitleEdgeInsets:UIEdgeInsetsMake(10, 0, 0, 0)];
四个参数分别代表:上边界,左边界,下边界,右边界
修改UIButton setTitle字体颜色
[button addTarget:self action:@selector(clickAction) forControlEvents:UIControlEventTouchUpInside];
iOS修改UIButton setTitle字体颜色和调整字体位置
标签:字体 uibutton 字体位置 字体颜色 settitle
原文地址:http://blog.csdn.net/bjourney/article/details/46881835