如何更改 UITableViewRowAction 标题颜色? [英] How to change UITableViewRowAction title color?

查看:29
本文介绍了如何更改 UITableViewRowAction 标题颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在editActionsForRowAtIndexPath"方法中使用 UITableViewRowAction.我可以更改 UITableViewRowAction 的背景颜色,但无法更改标题颜色.但我想更改 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:

  • 背景颜色
  • 风格(破坏性(红色背景色,...)
  • 标题

更多信息请参考苹果文档 UITableViewRowAction

这篇关于如何更改 UITableViewRowAction 标题颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆