I have a UIButton
which is used to do something when user touch the button. I did it in Touch Up Inside
. I have to implement another function which is treated as like a secondary action for that UIButton
.
What is the convention in iOS to handle more than one action for same UIButton
? Should I use
double-tap action
or
long press gesture
or anything else?
Set tag of the button inside method, set default tag is 0,