I have a collection view. I would like to programmatically select a cell. This is the code I use
[_collectionView selectItemAtIndexPath:[NSIndexPath indexPathFor
You can make it.
[self.collectionView selectItemAtIndexPath:indexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone];
[self collectionView:self.collectionView didSelectItemAtIndexPath:indexPath];
if use only selectItemAtIndexPath:animated:scrollPosition: method, don't call delegate method. if use only collectionView:didSelectItemAtIndexPath: method, it don't work stabil
happy code :)