I have a UIViewController subclass. I add many UILabel by using the [self.view addSubview:] method, and some labels exceed the bottom of the screen. However I can't move the view to see the labels below. Do I miss something? Thanks in advance.
+1
A:
You need to be using a UIScrollView if you have content that exceeds the bounds of the screen (480 X 320 pixels).
zPesk
2009-06-15 16:46:04
A:
As zPesk says, a UIScrollView is probably the best solution if you want to display content larger than the screen however there are simpler options.
Try setting the origin of your UIView to be negative - this will make is display offset within it's superView (which I'm assuming is your fullscreen window). Using this technique you could implement simple paging to get your app running initially before you move to a UIScrollView.
Roger Nolan
2009-06-15 20:46:23