2011-03-04 47 views
0

在我的viewDidLoad中,有太多的数据, 所以我应该怎么做,以便我可以使用它们, 某种滚动,但如何编码它?我怎样才能把滚动在我的iPhone视图?

Picture (you cannot go to the next step if you do not input a picture. Existing or snap a new one) 
Name 
Age 
Gender 
Profession 
Hobby 
Things I like 
Things I dislike 
Business Address/Home Address (you choose one first and then you can type in the field) 
Email Address 
Other (this field does not have to match to others for a connection to be made) 
Phone number (Automatically it will show the persons phone number) 

有领域,我可以让他们,但不适合我:-(

回答

1

使用一个UIScrollView更多的空间。但是你已经知道,我猜。阅读起来Learning the basics of UIScrollView

或者,您也可以探索UITableView,如果您的数据表示一个逻辑组或在TableView上可以呈现为单元格/行的集合。

+0

数据不代表逻辑组,但我尝试了UIScrollView,但无法看进展, – 2011-03-04 10:33:04

+0

你读过了吗?电子邮件我指着你?它涵盖得非常好。你有什么问题?你的应用中是否有设计问题? – Bourne 2011-03-04 10:38:15

+0

当我的数据不是很大时,我可以滚动吗? – 2011-03-04 10:45:17