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;

check uitableview class reference


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -