SBSearchViewController
的UITableView
委托和数据源是SBSearchViewController
@interface SBSearchViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, ...>
我已经定义
-(id)sectionIndexTitlesForTableView:(id)arg1;
-(int)tableView:(id)arg1 sectionForSectionIndexTitle:(id)arg2 atIndex:(int)arg3;
但是,该表仍然未编制索引。上述两种方法都不会被调用。我错过了什么?还有另一种显示表索引的方法吗?