Reputation: 193
I'm building iOS app with swift. In my app I have ViewController with CollectionView in it. Everything is great, but when I click on cell Labels in it are automatically changing their color to black (and backgrounds if they are set to default).
When I use TableView I'm just selecting "Selection -> None" in Attributes inspector for the prototype cell and it helps, but cell in CollectionView doesn't have this option.
P.S. I don't want to customize it, I just want to disable changing UI when it's selected.
Thanks a lot for help!
Upvotes: 0
Views: 144
Reputation: 313
Set userInteraction of your label to false and then try to click on it.This will not change you UI. Remove the delegate from your collection view , to identify the issue in detail.
Upvotes: 0