Creating a large scrolling view in Interface Build

2019-04-15 04:10发布

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 some 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?

3条回答
劫难
2楼-- · 2019-04-15 04:30

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

查看更多
Deceive 欺骗
3楼-- · 2019-04-15 04:31

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

查看更多
迷人小祖宗
4楼-- · 2019-04-15 04:49

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

enter image description here

查看更多
登录 后发表回答