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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com