如题,collectionView 采用的FlowLayout。我在每次刷新和加载更多的时候,直接将数据添加到array里面,然后[collectionView reloadData]
[collectionView reloadData]
但是这样会闪一下,请问如何让它很自然的把新的数据加进去啊
光阴似箭催人老,日月如移越少年。
Try adding an animation?
[UIView animateWithDuration:0.25 animations:^{ [collectionView reloadData] }];
Recommended part-time jobs for engineers, click on my avatar for details
Here is the solution: http://blog.csdn.net/ylgwhyh/...
Try adding an animation?
Here is the solution: http://blog.csdn.net/ylgwhyh/...