Adding description between Section in UITableViewController
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.
Section footers are often used for descriptions. So, implement the following UITableViewDataSource
method in your subclass of UITableViewController
:
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
For more information see the documentation.
精彩评论