reloadData only on tableView visible cells

前端 未结 3 1836
无人共我
无人共我 2020-12-15 19:53

Is that possible? To reload only the cells that are visible in order to do it more efficient.

3条回答
  •  孤街浪徒
    2020-12-15 20:45

    That's how table views work by default. The UITableView class never loads cells until they're about to appear onscreen, even when you call reloadData.

提交回复
热议问题