您的位置:首页 > 产品设计 > UI/UE

UITableViewDelegate方法

2015-10-03 20:36 489 查看
UITableView代理方法更多的集中到对tableView的操作中

1.选中某行cell调用此方法

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath


2.自定义每组头部的view 需要使用到UITableViewHeaderFooterView

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section;


3.自定义每组尾部的View 需要使用到UITableViewHeaderFooterView

- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: