iOS Reference Library Apple Developer
Search

Touches

Last Revision:
Version 1.12, 2010-07-01
Changed deployment target back to iOS 3.2 and added CFBundleIconFiles in Info.plist.
(Full Revision History)
Build Requirements:
iOS SDK 4.0
Runtime Requirements:
iOS 3.2 or later

The Touches sample application demonstrates how to handle touches, including multiple touches that move multiple objects. After the application launches, three colored pieces appear onscreen that the user can move independently.

"Touches_Classic" demonstrates how to handle touches using UIResponder's: touches began, touches moved, and touches ended.

"Touches_GestureRecognizers" demonstrates how to use UIGestureRecognizers to handle touch events.




Last updated: 2010-07-01

Did this document help you? Yes It's good, but... Not helpful...