如何更改UITableViewRowAction标题颜色? [英] How to change UITableViewRowAction title color?
问题描述
在editActionsForRowAtIndexPath方法中使用UITableViewRowAction。我可以更改UITableViewRowAction的backgroundcolor,但无法更改标题颜色。但我想改变UITableViewRowAction的颜色。关于这方面的任何意见都会很明显。
Am using UITableViewRowAction in "editActionsForRowAtIndexPath" method. I can change the backgroundcolor of UITableViewRowAction, but am not able to change the title color. But I would like to change the color of the UITableViewRowAction. Any inputs on this regard will be appreciable.
推荐答案
我担心没有办法改变UITableViewRowAction的标题颜色。
I'm afraid that there's no way to change the title color of the UITableViewRowAction.
你可以在行动中改变的唯一方法是:
The only things you can change on the action are:
- backgroundColor
- 样式(破坏性(红色backgroundcolor,...)
- title
有关详细信息,请参阅 Apple Doc UITableViewRowAction
For more info, please refer to the Apple Doc UITableViewRowAction
这篇关于如何更改UITableViewRowAction标题颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!