Re: Supporting rotation and zoom gestures with autolayout?
Re: Supporting rotation and zoom gestures with autolayout?
- Subject: Re: Supporting rotation and zoom gestures with autolayout?
- From: Rick Mann <email@hidden>
- Date: Thu, 13 Jun 2013 14:15:54 -0700
On Jun 13, 2013, at 14:13 , Kyle Sluder <email@hidden> wrote:
> During pinching and zooming, remove all constraints involving the view,
> turn on translatesAutoresizingMaskIntoConstraints for that view, and
> directly manipulate its bounds and rotation. Reinstall the constraints
> when you're done.
Wow, really? That seems heavy-handed. I thought autolayout was supposed to (eventually) replace the autoresizing mask.
When you say "that view," it brings up another question. Is it enough for me to put a UIImageView inside a UIScrollView, or do I need another view in between them. Given that, for which view should I do what you suggest? The UIImageView inside, the UIScrollView (or the intermediate view, if that's necessary)?
Thanks!
--
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