Frage

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?

War es hilfreich?

Lösung 2

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

UIScrollView implementation

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top