NSArray *visiblePaths = [_tabelView indexPathsForVisibleRows];
for (NSIndexPath *indexPath in visiblePaths)
{
//获取到的indexpath为屏幕上的cell的indexpath
}
获取屏幕上展示的UITableViewCell
最新推荐文章于 2022-09-01 21:50:20 发布
NSArray *visiblePaths = [_tabelView indexPathsForVisibleRows];
for (NSIndexPath *indexPath in visiblePaths)
{
//获取到的indexpath为屏幕上的cell的indexpath
}