Answer the question
In order to leave comments, you need to log in
How to track button clicks?
Good day.
I am creating programmatically two buttons: AddImageView, AddLabel.
What should I write so that when I click on a certain one, what I need is done?
I tried if (AddLabel) {...}
but it's not what I need.
There is no option to create in IB, connect to a specific button and describe it through IBaction.
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question