I have created UICollectionView with auto sizing functionality.I have passed width and height 1 in estimated size of flow layout and seems to working fine. But when i load more and pull to refresh it will called crash with
2012-12-16 13:17:59.789 [16807:19703] *** Assertion failure in -[UICollectionViewData indexPathForItemAtGlobalIndex:],
Here is my code of estimated size
if let flowLayout = objCollectionView.collectionViewLayout as? UICollectionViewFlowLayout {
flowLayout.estimatedItemSize = CGSize(width: 1.0,height: 1.0)
}