首页 > 代码库 > UICollectionView cellForItemAtIndexPath not called

UICollectionView cellForItemAtIndexPath not called

UICollectionView cellForItemAtIndexPath not called

 

解决办法:

    self.automaticallyAdjustsScrollViewInsets = NO;//解决cellForItemAtIndexPath not called问题

 

我也不是很清楚原因,怕说不好,读者自己理解吧