How to handle touch events on UI Controls

Posted by Sreelatha on Stack Overflow See other posts from Stack Overflow or by Sreelatha
Published on 2009-12-08T12:01:05Z Indexed on 2010/03/19 0:01 UTC
Read the original article Hit count: 186

Filed under:

Hi,

I have a query related to Touch events on the UI controls.

I have 4 controls on the screen ( UITextField, UISlider, UISwitch, UIButton ). If the user touches any of the control on the screen, I want to fire touchesBegan and touchesEnded events on those controls in which I would implement some code.

Please let me know how to fire these events.

Thanks in advance, Sreelatha.

© Stack Overflow or respective owner

Related posts about event-handling