This answer helps.
The trick here is to have
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView;
return nil, while maintaining implementations of other partition-based data source methods:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView; - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
This is similar to the fact that tableview does not display the partition index, but still allows index navigation.
source share