tableView:titleForFooterInSection:
テーブルビューのセクションのフッタタイトルを返します。
-(NSString *)tableView:(UITableView *)tableView
titleForFooterInSection:(NSInteger)section
解説
テーブルビューのセクションのフッタタイトルを返します。
返り値
( NSString * )
引数
( UITableView * )tableView
( NSInteger )section
フレームワーク
UIKit
クラス
UITableViewDataSource
Instance Methods
使用可能
iPhone2.0
参照
例文
//セクションのタイトルフッタ
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section {
switch (section) {
case 0: return @"フッタ1";
case 1: return @"フッタ2";
case 2: return @"フッタ3";
}
return nil;
}