I know I can detect if my button is being held down by adding a selector like this
[button addTarget:self action:@selector(buttonDown:) forControlEvents:UIControlEventTouchDown];
But with 50+ buttons in a single view I have I'm trying to see if theres a way to add a selector to ALL buttons in my view and see if theres a button being held down and which button is it.
Im wondering because I need to detect UIControlEventTouchDown AND UIControlEventTouchUpInside on 50+ buttons so thats a lot of code id like to shorten down.