我添加了sectionIndexTitles。我在哪里可以设置节索引标题大小?我需要改变宽度。
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView
{
return arr;
}
答案 0 :(得分:1)
这些indexTitles只定义右边的“标题滚动条”...对于你可能正在使用的真实版块标题tableView:titleForHeaderInSection:
。如果您想要更多地控制这些部分标题,请改用tableView:viewForHeaderInSection:
。 (并返回UILabel
例如。)