带有UISearchBar的索引表

时间:2013-12-24 11:20:00

标签: ios uitableview indexing uisearchbar

我实现了搜索栏及其工作正常,但我需要在联系人列表中组织从Web服务获得的名称。我提到了这个sample code但是无法分段。请参考

- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index
来自this link的ContactViewController.m中的

1 个答案:

答案 0 :(得分:0)

有很好的自定义索引栏

你可以使用它,

https://github.com/CraigMerchant/CMIndexBar