문제

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