0

右側の音楽アプリや連絡先アプリのように、アルファベット順のスクローラーを実装するためのサポートが必要です。

4

2 に答える 2

1

ここに文書化されています:インデックス付きリストの作成

tableView:sectionForSectionIndexTitle:atIndex:を実装する必要があります。

于 2011-11-13T17:54:29.447 に答える
0

UITableViewDataSource を実装する必要があります。

http://developer.apple.com/library/IOs/#documentation/UIKit/Reference/UITableViewDataSource_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UITableViewDataSource/sectionIndexTitlesForTableView :

具体的には、コールバック:

-sectionIndexTitlesForTableView:
-tableView:sectionForSectionIndexTitle:atIndex:

このチュートリアルでは、次のことについて説明します。

http://www.iosdevnotes.com/2011/10/uitableview-tutorial/

于 2011-11-13T17:58:32.050 に答える