Display data that's bigger than the iPhone screen
I want to put data in a UIViewControl开发者_Python百科ler
, and when the user scrolls down, he will see something else. I want to do this in Interface Builder.
It needs to be something like UITableView.
Thanks.
UIScrollView
does exactly that.
Here's a really simple tutorial.
you can do it by using a UIScrollView or UITableView
If you are wondering how to create a UIView in Interface Builder that is "bigger" than the normal screen, you need to adjust the "Simulated Metrics" properties in Interface Builder. Make sure you set the status bar to "none" and then you can drag to resize the view. As far as setting it up for scrolling, you should refer to the tutorials in the other answers.
精彩评论