开发者

Creating a large scrolling view in Interface Builder

I want to create a large view that will contain about 10-20 fields (slides, datepicker, textfields), all aligned one under the other. I'm on Interface Builder and I've placed a UIScrollView and on top of that added so开发者_StackOverflowme fields. But I can't add any more fields that are not visible in the current window.

So, how do I go about to add more fields inside that ScrollView?


Set the Simulated Size to Freeform and put large numbers in the height and width.

Creating a large scrolling view in Interface Builder


Grab the uiscrollview with your mouse and drag it up and the part that you cant see will be visible to you window. And so on and so on. Be sure its size is bigger than your view


You can also use your mouse scroll wheel anywhere in the tableview window to scroll up/down

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜