How do I change the color of the side Alphabet in an indexed UITableView?

后端 未结 12 940
温柔的废话
温柔的废话 2020-11-27 14:03

I have a table view with an alphabetical index and am using the side alphabet to get through the list quickly. For those not familiar, that uses this:

- (NS         


        
12条回答
  •  隐瞒了意图╮
    2020-11-27 14:35

    For iOS7 or Higher:

    self.tableView.sectionIndexColor = [UIColor whiteColor];
    self.tableView.sectionIndexBackgroundColor = [UIColor clearColor];
    

提交回复
热议问题