My interface and oriented in landscape mode. In my view, I have a form for recording with many UITextField.
The component UIScrollView comes moves only horizontally and not vertically. I would like the component UIScrollView only moves vertically to show all my UITextField, how can I do?
Set the
contentSizeproperty of the UIScrollView.If your
UIScrollViewis 480/568 pixels wider (the width of the screen in landscape mode), then you can do this:Now
UIScrollViewwill only scroll vertically, because it can already display everything horizontally in landscape orientation.