Re: UIScrollView Sizing
Re: UIScrollView Sizing
- Subject: Re: UIScrollView Sizing
- From: Scott Anguish <email@hidden>
- Date: Wed, 28 Apr 2010 12:44:58 -0400
The one thing you have to set in code _is_ the size. So you can easily do that based on content.
On Apr 27, 2010, at 1:58 PM, Bob Barnes wrote:
> Hi,
>
> I have a UIScrollView that can contain a variable number of other UIViews (UILabels, UIImageViews, etc), but I'm confused as to how to manage the UIScrollView contentSize given the variability in the number of views it will contain. I'd like to use IB to create my view, but is this type of view better suiting to being built programmatically? UIScrollViews with variable content seems like a rather common paradigm and I'm wondering how folks approach this type of UI.
>
_______________________________________________
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