Is there any way to animate buttons and call action metods like in iOS 7 standard calculator? I mean, a button highlights when a user holds finger on it and calls action method if user touches up.
I use Touch Up Inside event, but it works only with single button. When you touch down one button it highlights while you touch up finger. And then calls action method of first pressed button, doesn't matter where you cancelled touch.
I want to call action method of button, which you touches up. And highlight any button, that you are hold at the moment (not only button, that first touched).
What touch event can I use to do it?
P.S. Sorry for bad english.