UIAlertAction改变字体颜色

2017-07-26  本文已影响174人  lizhi_boy
UIAlertAction *action2 = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
    
}];

[action2 setValue:[UIColor redColor] forKey:@"titleTextColor"];
上一篇 下一篇

猜你喜欢

热点阅读