What's the UITableView index magnifying glass character?

前端 未结 11 1807
醉话见心
醉话见心 2020-12-12 10:09

In Apple\'s iPhone apps (like Contacts), they have a nice magnifying glass icon at the top of the table view index. Since the table view index API is character-based, I assu

11条回答
  •  伪装坚强ぢ
    2020-12-12 10:42

    In the sectionIndexTitlesForTableView add a NSMutableArray* titles for example and in addition to your indexes add the [titles addObject: UITableViewIndexSearch]

提交回复
热议问题