【问题标题】:iPhone Table View with alphabetiPhone 表视图与字母表
【发布时间】:2011-05-17 12:00:51
【问题描述】:

如何在表格视图中添加字母部分?

非常感谢。

【问题讨论】:

标签: ios iphone uitableview


【解决方案1】:

您需要为此实现 UITableView 的 2 种方法,即 sectionIndexTitlesForTableView 在 this & sectionForSectionIndexTitle 中返回字母数组。 查看本教程了解更多信息:

http://www.iphonedevcentral.com/indexed-uitableview-tutorial/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-06-18
    • 2019-04-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-16
    相关资源
    最近更新 更多