Handling Touches Using Responder Methods and Gesture Recognizers
Last Revision: | Version 2.0, 2013-05-13 Updated for modern Objective-C; the gesture recognisers are now instantiated in the storyboard. (Full Revision History) |
Build Requirements: | Xcode 4.6 or later; iOS SDK 6.0 or later. |
Runtime Requirements: | iOS 6.0 or later. |
This sample contains two applications that demonstrate how to handle touches, including multiple touches that move multiple objects: "Touches_Responder" demonstrates how to handle touches using UIResponder's: touches began, touches moved, and touches ended methods. "Touches_GestureRecognizers" demonstrates how to use UIGestureRecognizer objects to handle touch events.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-05-13