tags:

views:

20

answers:

1

iphone, need to put many text boxes on the view, how to scroll down to view more content? I actually put buttons and labels on the ScrollView, but the scrolling doesn't work. Do I need to write any code for that, any example?

Thanks.

+1  A: 

You need to set the contentSize property of the UIScrollView to something bigger than its frame size.

[aScrollView setContentSize:CGSizeMake(320, 1000)];
Tom Irving