jjzjj

alphabetsArray

全部标签

iphone - 使 UITableView 可按索引滚动

我正在尝试创建一个UITableView索引以更快地滚动大型UITableView,我在右侧显示了索引,但是当我尝试使用它滚动时,它不起作用..我想知道我是否遗漏了什么,所以我想知道是否还有其他事情我必须做,或者类似的事情。#pragma-TableViewIndexScrolling-(NSArray*)sectionIndexTitlesForTableView:(UITableView*)tableView{if(searching)returnnil;NSMutableArray*tempArray=[[NSMutableArrayalloc]init];[tempArraya

iphone - 使 UITableView 可按索引滚动

我正在尝试创建一个UITableView索引以更快地滚动大型UITableView,我在右侧显示了索引,但是当我尝试使用它滚动时,它不起作用..我想知道我是否遗漏了什么,所以我想知道是否还有其他事情我必须做,或者类似的事情。#pragma-TableViewIndexScrolling-(NSArray*)sectionIndexTitlesForTableView:(UITableView*)tableView{if(searching)returnnil;NSMutableArray*tempArray=[[NSMutableArrayalloc]init];[tempArraya