Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

StevenHu

macrumors member
Original poster
Sep 3, 2009
80
0
Southern CA
In my UIView is a UIScrollView containing several controls so that they extend below the view and must be scrolled to see the lower ones. That's fine.

But in IB, when I select the View Mode's middle icon and click on Scroll View then on the Info button, I get for the scroll view:
Type: Illegal Geometry
Issue: This view is clipped by its subview.

I'm not sure what I should change, if anything.

Regards,
Steve
 
That just means the lower controls won't appear on the screen at first.
 
Right. It means that a subview extends outside its superview's frame. Which I guess you knew.

If you want you make your view that goes inside your scrollview a top level view in your nib and then addSubview in your view controller's viewDidLoad method. This might make it more convenient to edit the content of the view that is bigger than the scrollview.

Up to you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.