iphone, need to put many text boxes on the view, how to scroll down to view more content? I actually put buttons and labels 开发者_JS百科on the ScrollView, but the scrolling doesn't work. Do I need to write any code for that, any example?
Thanks.
You need to set the contentSize
property of the UIScrollView
to something bigger than its frame size.
[aScrollView setContentSize:CGSizeMake(320, 1000)];
精彩评论