0

SBSearchViewControllerUITableViewデリゲートと dataSource はSBSearchViewController

@interface SBSearchViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, ...>

定義しました

-(id)sectionIndexTitlesForTableView:(id)arg1;
-(int)tableView:(id)arg1 sectionForSectionIndexTitle:(id)arg2 atIndex:(int)arg3;

ただし、テーブルにはインデックスが作成されていません。上記の両方のメソッドが呼び出されることはありません。私は何が欠けていますか?テーブルのインデックスを表示する別の方法はありますか?

4

1 に答える 1