質問

I have a UIScrollView with a rather large amount of controls in it (like a long form or questionnaire).

The controls are static and can be added in IB, but the scroll view itself is not large enough for all the controls (scrolling is necessary, duh!), meaning that I can't see most of my controls in IB and have to align them "blindly".

Is there a way to simulate a scroll offset for a UIScrollView in IB?

役に立ちましたか?

解決 2

You should check out this link, it gives a great explanation on different ways to implement the UIScrollView.

UIScrollView implementation

他のヒント

You don't need to, just size your UIScrollView to the size that is needed (it will come off the bottom on the phone screen layout in Xcode) and place the items on it

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top