• 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: Programmatically pinch a UIView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically pinch a UIView


  • Subject: Re: Programmatically pinch a UIView
  • From: Carl Hoefs <email@hidden>
  • Date: Wed, 11 May 2016 15:04:29 -0700

> On May 11, 2016, at 2:33 PM, Quincey Morris <email@hidden> wrote:
>
> On May 11, 2016, at 14:14 , Carl Hoefs <email@hidden <mailto:email@hidden>> wrote:
>>
>> the UIView that's currently there handles pinch zoom in/out fine.
>
> You should at this point explain what mechanism you’re using to do this.
>
Indeed! I took another look at the gesture recognizer code I had for the UIView subclass, and I simply made an additional method that issued a scale via the same means but by a supplied zoom factor (as opposed to calculating it from the touch points). Voila!

Thanks for the sagely advice, Quincey. I woulda kept on flailing otherwise... :-)
-Carl

_______________________________________________

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


References: 
 >Programmatically pinch a UIView (From: Carl Hoefs <email@hidden>)
 >Re: Programmatically pinch a UIView (From: David Duncan <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Carl Hoefs <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Carl Hoefs <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Carl Hoefs <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Quincey Morris <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Carl Hoefs <email@hidden>)
 >Re: Programmatically pinch a UIView (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Programmatically pinch a UIView
  • Next by Date: Re-presenting view controller changes size
  • Previous by thread: Re: Programmatically pinch a UIView
  • Next by thread: Re-presenting view controller changes size
  • Index(es):
    • Date
    • Thread