1

I am using collection view in iPhone application to show list. now while using the cell for row at the index path method I am using set selected to yes. this will make my cell user interaction disable. I don't know what is the reason behind it.

Premal Khetani
  • 3,175
  • 1
  • 26
  • 58

1 Answers1

2

i solved it by adding method.

    [newCell setSelected:YES];  



[collectionView selectItemAtIndexPath:indexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone];

accordingly.

as per given in this link UICollectionView Select and Deselect issue

Thanks.

Community
  • 1
  • 1
Premal Khetani
  • 3,175
  • 1
  • 26
  • 58