I’ve implemented a custom UIButton and in order for me to handle LongPress events (without using Gesture Recognizers) I had to use touchesBegan:, touchesEnded: on my class. Problem is that now the regular button events aren’t working. I’m wondering what’s causing this and how I could avoid it?
The touch based events are working but the previous actions I had for touchUpInside: are no longer functional.
Thanks
don’t use
touchesBegan:for longpress, use this gesture recognizer!