Re: Combining pan, zoom, and rotate gestures into one?
Re: Combining pan, zoom, and rotate gestures into one?
- Subject: Re: Combining pan, zoom, and rotate gestures into one?
- From: Rick Mann <email@hidden>
- Date: Fri, 14 Jun 2013 18:36:44 -0700
On Jun 14, 2013, at 18:09 , David Rowland <email@hidden> wrote:
> Isn't it a matter of implementing this delegate method?
>
> - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
> {
> return YES;
> }
I was thinking that was insufficient, because to rotate properly, you need a point about which to rotate. The rotation gesture by itself doesn't give you that (it only provides a rotation).
Actually, I'm wrong about that. All gestures give a location value. But none of the examples I saw rotated about that location.
I'll have to continue experimenting.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden