0
如附圖所示。爲什麼我的章節標題出現在UISearchBar的一側?
我也使用SearchDisplayController以方便搜索。
alt text http://img.skitch.com/20100809-c1fqumami2gtg1ytrjikmbcrpf.jpg
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
if(searching)
return nil;
else
return keys;
}