UIButton 如何设置字体颜色
- 作者: 宋大财
- 来源: 51数据库
- 2022-08-17
UIButton *temp = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[temp setTitle:@“test” forState:UIControlStateNormal];
[temp setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
推荐阅读
