hello friends i am using collection view in iPhone application to show list. I want to set the height of the collection view as per size of my list. how can I set it?
also have the problem when I use set selected method of cell in the collection view it will disable the user interaction.
I don't know what is the reason? Thank you.
"set selected method of cell in the collection view it will disable the user interaction."
this is solved by adding following method.
[newCell setSelected:YES];
[collectionView selectItemAtIndexPath:indexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone];
accordingly.
as per given in this link
UICollectionView Select and Deselect issue
Thanks.