search

Home  >  Q&A  >  body text

ios - Clicking on the index bar on the right side of UITableView cannot jump automatically. How can I solve this problem?

As shown below, when I click on any letter from A-Z, it cannot jump,

also implements the following methods:

/ return self.sectionTitles;
/}
Could you please tell me how to solve this problem?

三叔三叔2799 days ago959

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-24 09:45:07

    The method to click on the index bar is this:

    -(NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index

    reply
    0
  • Cancelreply