您的位置:首页 > 产品设计 > UI/UE

collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath 方法不调用

2016-09-07 01:20 435 查看
程序运行死活没效果,后来断点发现 -(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath
*)indexPath 没有调用。

解决方法:  self.automaticallyAdjustsScrollViewInsets = NO;//解决cellForItemAtIndexPath
not called问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐