how to retrieve all visible table section header views

后端 未结 10 635
渐次进展
渐次进展 2020-12-31 04:44

is there a way to get all the section header views that are visible?

something similar to UITableView\'s visibleCells instance method..

10条回答
  •  太阳男子
    2020-12-31 05:04

    In this case, I think you set the cell.tag to the current section (indexPath.section) in cellForRowAtIndexPath and use the visibleCells method as you described and headerViewForSection.

提交回复
热议问题