tableViewcell頁碼

如何獲取uitableview中最上面的可見cell的索引

如何得到UITableViewCell 在屏幕中的位置ui

如何獲取當前屏幕上的cell是第幾個cellspa

如何獲取cell位置orm

如何在tableView上顯示頁碼索引

-(void)scrollViewDidScroll:(UIScrollView *)scrollViewstring

{it

    NSIndexPath *path =  [_tableView indexPathForRowAtPoint:CGPointMake(scrollView.contentOffset.x, scrollView.contentOffset.y)];table

    label.text = [NSString stringWithFormat:@"%li / 31",(long)path.row+1];class

}uitableview

相關文章
相關標籤/搜索