• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Combining pan, zoom, and rotate gestures into one?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 19:26:47 -0700

So, this sort of works, and fails spectacularly.

The problem is that I can't specify the order in which each gesture's values are applied to the view's transform.

So, I end up with a side-to-side panning gesture making the image move up-and-down when it's rotated about 90°.


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;
> }
>
>
>
> David
>
>
>
>
>
> On Jun 14, 2013, at 5:41 PM, Rick Mann <email@hidden> wrote:
>
>> The Apple Maps application allows you to pan, zoom, and rotate in a single two-finger gesture.
>>
>> Is that done with three gesture recognizers all operating simultaneously? Or are they just handling the touches directly?
>>
>> I don't see how to get a combined transform out of the three separate gesture recognizers.
>>
>> --
>> 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
>


--
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


  • Follow-Ups:
    • Re: Combining pan, zoom, and rotate gestures into one?
      • From: Jonathan Hull <email@hidden>
References: 
 >Combining pan, zoom, and rotate gestures into one? (From: Rick Mann <email@hidden>)
 >Re: Combining pan, zoom, and rotate gestures into one? (From: David Rowland <email@hidden>)

  • Prev by Date: Re: Combining pan, zoom, and rotate gestures into one?
  • Next by Date: Re: Combining pan, zoom, and rotate gestures into one?
  • Previous by thread: Re: Combining pan, zoom, and rotate gestures into one?
  • Next by thread: Re: Combining pan, zoom, and rotate gestures into one?
  • Index(es):
    • Date
    • Thread