Answer the question
In order to leave comments, you need to log in
What is the best way to add an element programmatically if it should have a click and different states?
Hello.
I need to create an element that will contain pictures, some text elements inside.
At the same time, it is necessary that the element be clickable and change the background when clicked.
There should be 50+ such elements on the screen.
Button or view?
Add gesture recognition to each button = create the same number of gesture recognizers or is one enough?
Answer the question
In order to leave comments, you need to log in
Button or view?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question