views:

72

answers:

1

Just wanted to ask you if there is an easy way to add description text between sections in UITableViewController ? You can take a look at what I want to do in "Settings > General > Keyboard" in your iPhone/iPod.

+1  A: 

Implement the following method in your table view data source:

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section

For more information see the documentation.

Stephen Darlington
+1 for beating my almost identical answer.
Will Harris
Thanks. I checked and just saw that it was:- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
Kensou