Fir*_*ist 10 indexing uitableview ios7
我需要改变backgroundcolor的IndexBar为UITableView在iOS7.
对于默认值,IndexBarbackgroundColor为白色,textColor如下图所示为蓝色.

我想给的backgroundColor改变clearColor和textColor红色.
我怎么能在iOS7中做到这一点?
Fir*_*ist 26
抱歉.我得到了我自己的问题的答案.
这是代码
[[self tableView] setSectionIndexColor:[UIColor redColor]];
[[self tableView] setSectionIndexBackgroundColor:[UIColor clearColor]];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2235 次 |
| 最近记录: |