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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -