How to change color of letters of sectionIndexTitlesForTableView?

前端 未结 8 594
情深已故
情深已故 2021-01-11 13:12

I need to change the color of sectionIndexTitlesForTableView in iOS 5. I could not find any method in the APIs to do the task. Can anyone offer me some help?

The se

8条回答
  •  有刺的猬
    2021-01-11 13:50

    Write Bellow code in your viewDidLoad (for swift)

    tableName.sectionIndexColor = UIColor.lightGrayColor()

提交回复
热议问题