I am using the example from this question: How to combine UIScrollview with UIPagecontrol to show different views? to add a UIScrollView
containing multiple subviews to a page in my iPad app.
我在顶部有一大看法,然后在底层有一个小箱子。 底层的盒子是UIScrollView;用户将沉积,有权为这一小节中的各种功能提供箱子。 顶上的大观点从未改变,因此我不认为是适当的。
I have a storyboard with a single View Controller Scene in it. While I can add views to this I can t design off screen views; in other words, there s nowhere I can draw each of my subviews. How can I do this? Do I need to make separate XIBs for each subview? If so, how do I load them in? Or, should I instead make my scrollview (subview width * subview count
) wide and draw each view adjacent to the previous one? This is my first iOS app so I may well have some things backwards.
增 编
Tim