如何更改iOS TableView索引颜色? [英] How change iOS TableView index Color?
本文介绍了如何更改iOS TableView索引颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何自定义右侧列表的颜色和字体.
How do I customise the Color and Font of the right side list.
推荐答案
使用 UITableView
方法 sectionIndexColor
和 sectionIndexBackgroundColor
示例
tableView.sectionIndexColor = UIColor.red
tableView.sectionIndexBackgroundColor = UIColor.clear
这篇关于如何更改iOS TableView索引颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文