I have implemented a search bar and index capability for my table view. Working well. However, I noticed that when I click in the search bar, the index is still available and clicking on it causes unpredictable results. Rather than debug that, I thought it would be simpler to hide the index :)
I found references elsewhere to calling sectionIndexTitlesForSectionView and returning nil. So, when I click in the search box, in searchBarTextDidBeginEditing I have made an explicit call to [self sectionIndexTitlesForSectionView:[self tableView]].
The result is that sectionIndexTitlesForSectionView does get invoked and return nil, but the index is still present.
Any ideas/suggestions would be greatly appreciated! Tony.