开发者

Adding description between Section in UITableViewController

开发者 https://www.devze.com 2022-12-16 17:36 出处:网络
Just wanted to ask you if there is an easy way to add description text between sections 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号