tableView に関する設定の説明です。
テーブル内のセクション数を設定する
以下の例では、2つのセクションをもつテーブルになります。
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 2;
}
セクション内の行数を指定する
以下の例では、最初のセクションは、2行のデータを表示し、次のセクションでも2行のデータを表示します。…
http://www.edumobile.org/iphone/iphone-programming-tutorials/tabbarcontroller-with-navigationcontroller-and-tableview-in-iphone/
http://iphone-app-developer.seesaa.net/article/130194298.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。