【发布时间】:2011-05-17 12:00:51
【问题描述】:
如何在表格视图中添加字母部分?
非常感谢。
【问题讨论】:
-
它叫做section index,你会在你的Bible中找到关于它的信息:developer.apple.com/library/IOs/documentation/UIKit/Reference/…
标签: ios iphone uitableview
如何在表格视图中添加字母部分?
非常感谢。
【问题讨论】:
标签: ios iphone uitableview
您需要为此实现 UITableView 的 2 种方法,即 sectionIndexTitlesForTableView 在 this & sectionForSectionIndexTitle 中返回字母数组。 查看本教程了解更多信息:
http://www.iphonedevcentral.com/indexed-uitableview-tutorial/
【讨论】: