月曜日, 3月 02, 2009

UITableView のグループ間の表示を狭くする

UITableView のグループ間の表示を狭くするには
sectionHeaderHeight と sectionFooterHeight を指定する。

viewDidLoad の中で

tableView.sectionHeaderHeight = 5.0;
tableView.sectionFooterHeight = 5.0;

と指定してやる。

0 件のコメント: