Getting visible cell from UITableView pagingEnabled

前端 未结 5 1901
孤城傲影
孤城傲影 2020-12-13 15:35

I have a UITableView with pagingEnabled. Each cell takes up the viewing area of the table. Meaning, each cell is the same height and width as the table. I\'m using custom

5条回答
  •  一个人的身影
    2020-12-13 15:54

    Rather than focusing on when the UITableView requests a cell, you should be focusing on when it displays the cell, which is indicated by the delegate method tableView:willDisplayCell:forRowAtIndexPath.

提交回复
热议问题