UIButton 如何设置字体颜色 2015/06/26 13924 UIButton *temp = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [temp setTitle:@“test” forState:UIControlStateNormal]; [temp setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];