在Interface Builder中创建一个大型滚动视图 [英] Creating a large scrolling view in Interface Builder

查看:99
本文介绍了在Interface Builder中创建一个大型滚动视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个大视图,其中包含大约10-20个字段(幻灯片,日期选择器,文本字段),所有字段都在另一个下方对齐。
我在Interface Builder上,我已经放置了一个UIScrollView,并在其上添加了一些字段。
但我无法再添加当前窗口中不可见的字段。

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.

那么,我该如何在其中添加更多字段ScrollView?

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

推荐答案

用鼠标抓住uiscrollview并将其向上拖动,窗口可以看到您看不到的部分。等等等等。确保它的大小比你的视图大

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

这篇关于在Interface Builder中创建一个大型滚动视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆