I'm trying to open a new viewcontroller on item selection.
If I add an IBAction on my UICollectionViewCell class, I cannot open a new viewcontroller.
I try to add a delegate method on my actual viewcontroller, like
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath),
but when i "click" on an item, it doesn't perfom method.
I'm checked every parameter and setting, all seems to be ok. I don't know what I have to try more.
Hello,
I'm trying to open a new viewcontroller on item selection.
If I add an IBAction on my UICollectionViewCell class, I cannot open a new viewcontroller. I try to add a delegate method on my actual viewcontroller, like func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath), but when i "click" on an item, it doesn't perfom method.
I'm checked every parameter and setting, all seems to be ok. I don't know what I have to try more.
Thank you for your time.