I have four UIButtons on a UIView in an iPad application that is being developed for iPad Simulator 3.2.
This is currently happening: the user drags his finger from one button to another. When the finger leaves the first button, this button remains active, and nothing happens when the finger passes over the second button, if the user does not release the touch and again does not press the screen on the second button.
I need that, at the moment when their finger leaves the area of ββthe first UIButton, it must return to its default UI state, and when the finger enters the area of ββthe second UIButton, the second button must accept its active state and fire the event.
I really lost completely how to do this, I did a lot of Googling, nothing offered a quick solution to what seems to me to be something that should be easy to accomplish.
Thanks in advance.
source
share