recipe 5.3. Reacting to Rotation Gestures
5.3.1. Problem
You want to detect when a user is attempting to rotate an
element on the screen using her fingers.
5.3.2. Solution
Create an instance of the UIRotationGestureRecognizer class and attach it to your target
view:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial