I am using sectionIndexTitlesForTableView to display index in a UITableView. It is working fine but I am using the same TableView to display something where I do not need this index. So, the question is how to remove the sectionIndex?
I am using sectionIndexTitlesForTableView to display index in a UITableView. It is working fine
Share
Use a
BOOLvalue to track which display you are using (the first or the second) and do something like this (isDisplayingFirstis a boolean):