开发者社区 问答 正文

如何获取tableView:viewForHeaderInSection:方法返回的UIView

tableView:cellForRowAtIndexPath:

方法返回的UITableViewCell可以通过

[tabView cellForRowAtIndexPath:indexPath]

方法来获取,那
tableView:viewForHeaderInSection:

方法返回的UIView通过tabView怎么获取呢?

展开
收起
杨冬芳 2016-06-30 18:52:05 3139 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    ios6有这个方法..如果ios6以前的sdk..就只能自己用成员变量retain headerView

    2019-07-17 19:49:40
    赞同 展开评论
问答地址: