ios - how to know which cells (row & section) of a UITableView are currently being displayed? -
is there way know rows/sections being displayed inside uitableview ? know can use function :
tableview:(uitableview *) tableview willdisplaycell:(uitableviewcell *) cell forrowatindexpath:(nsindexpath *)indexpath
but, doesnt me. given moment, want know row/sections being displayed , processing based on that.
can kindly me ? thanks.
at given moment, can retrieve visible cells table view, or index paths :
-(nsarray *)visiblecells;
-(nsarray *)indexpathsforvisiblerows;
Comments
Post a Comment