views:

48

answers:

1

I'm trying to make a very simple scrolling page via IB. What I've got is a UIImageView at the top and 2 UIImageViews at the bottom, with a UITextView in the middle. I've disabled the scrolling in the UITextView as I won't the whole page to scroll up and down including the UIImageViews.

Can anyone tell me why the UIScrollView won't scroll up and down? All of the items above are subviews of UIScrollView via IB.

+1  A: 

You can only scroll in a uiscrollview if the content size is larger than the frame. Have you set this?

Thomas Clayson
No I haven't. Can you tell me where I can set this in IB. Thanks.
Peter
you can't do this in IB you have to do it within the ViewController holding the scrollview with the line of code `[myScrollView setContentSize:CGSizeMake(width,height)]`
Thomas Clayson