UIAlertAction设置颜色

2020-08-21  本文已影响0人  不要和哥闹
UIAlertAction *sureAction=[UIAlertAction actionWithTitle:@"保存" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
 }];
[sureAction setValue:[UIColor blackColor] forKey:@"_titleTextColor"];
上一篇 下一篇

猜你喜欢

热点阅读