Simple Gesture Recognizers
Last Revision: | Version 2.5, 2013-01-24 Refactored to better adhere to naming conventions and for clarity. (Full Revision History) |
Build Requirements: | Xcode 4.5 or later, iOS 6 or later |
Runtime Requirements: | iOS 6 or later |
This sample shows how you can easily use UITapGestureRecognizer, UISwipeGestureRecognizer, and UIRotationGestureRecognizer to detect user gestures. It illustrates the use of basic target-action messaging using recognizers, and also shows: how you can toggle the behavior of a recognizer at runtime using delegation; options for maintaining references to recognizers; and interaction with the exclusive touch setting for views.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-01-24