Post

Replies

Boosts

Views

Activity

How can I customize the selection state of my UICollectionViewCell subclass?
Hello everyone, I have a question about collection view. I want to add selection animation like when I press cell, background should change color to gray in my custom collection view cell. I tried some solutions but I couldn't achieve that. I override of isSelected function, when I clicked the cell background, it change him color but when I pull my finger, it still waiting same background color. The thing I want that is when I pull my finger on to cell, background should be look like old version. What kind of solutions I should try it for this thing, I checked internet but I could not find right solution for me. Thank you
2
0
609
Jan ’23
How can I customize the selection state of my UICollectionViewCell subclass?
Hello everyone, I have a question about collection view. I want to add selection animation like when I press cell, background should change color to gray in my custom collection view cell. I tried some solutions but I couldn't achieve that. I override of isSelected function, when I clicked the cell background, it change him color but when I pull my finger, it still waiting same background color. The thing I want that is when I pull my finger on to cell, background should be look like old version. What kind of solutions I should try it for this thing, I checked internet but I could not find right solution for me. Thank you
Replies
2
Boosts
0
Views
609
Activity
Jan ’23
UIButton background not change
Hello everyone, when I change the button background in storyboard after that I start my emulator and then in emulator my button's background doesnt change until I click that button
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
401
Activity
Jan ’22