美文网首页
UIAlertAction改变字体颜色

UIAlertAction改变字体颜色

作者: lizhi_boy | 来源:发表于2017-07-26 14:10 被阅读174次
UIAlertAction *action2 = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
    
}];

[action2 setValue:[UIColor redColor] forKey:@"titleTextColor"];

相关文章