Re: Something is constantly updating my scroll view's contentSize
Re: Something is constantly updating my scroll view's contentSize
- Subject: Re: Something is constantly updating my scroll view's contentSize
- From: Rick Mann <email@hidden>
- Date: Wed, 19 Jun 2013 16:24:15 -0700
On Jun 19, 2013, at 16:22 , Kyle Sluder <email@hidden> wrote:
> Yes. That's how the scroll view computes its contentSize.
Huh. I'm having a hard time with this.
I had removed all the constraints on the UIImageView inside my scroll view, and was then setting sizes. It sounds like you're saying I can rely on autolayout to do this much for me, but it's not.
I just want the UIImageView to size itself to the image I stick inside, and display that at 1:1 scale, and for the scroll view's contentSize to match that so it can be scrolled.
--
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