iOS Reference Library Apple Developer
Search

SimpleGestureRecognizers

Last Revision:
Version 1.2, 2010-04-20
Added localization support; viewDidUnload now releases IBOutlets.
(Full Revision History)
Build Requirements:
Xcode 3.2 or later, Mac OS X v10.6 or later, iPhone OS 3.2 or later
Runtime Requirements:
Mac OS X v10.6 or later, iPhone OS 3.2 or later

This sample shows how to use standard gesture recognizers. A view controller creates four gesture recognizers to recognize a tap, a right swipe, a left swipe, and a rotation gesture. When they recognize a gesture, the recognizers send a suitable message to the view controller, which in turn displays an appropriate image at the location of the gesture.




Last updated: 2010-04-20

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