ios - UICollectionView indexPathsForVisibleItems don't update new visible cells -
i have viewcontroller collectionview inside. when view loads, visible cells (9 cells) shown correctly. when scroll down, want load visible items in collectionview loadimagesforonscreenrows calling indexpathsforvisibleitems partnercollectionview. when loadimagesforonscreenrows indexpathsforvisibleitems has allways first 9 cells in it, when cells 10 18 should visible on screen. code use is: #import "partnerlistviewcontroller.h" #import "appdelegate.h" #import "partner.h" #import "imageloader.h" #import "partnerdetailviewcontroller.h" @interface partnerlistviewcontroller () @end @implementation partnerlistviewcontroller @synthesize lbltitle; @synthesize partnercollectionview; @synthesize imagedownloadsinprogress; @synthesize fetchedresultscontroller; @synthesize managedobjectcontext; - (void)viewdidload { [super viewdidload]; // additional setup after loading view. appdelegate * appdelegate = (appdelegate *) [[uiappl...