How can I put scroll in my iphone view?
in my viewDidLoad, there is too much data, so what should I do so that I can use all of them, some sort of scroll, but how to code it ?
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开发者_Go百科 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)
There are fields, and I can make them, but there is not more space for me :-(
Use a UIScrollView. But you already know that I guess. Read this up Learning the basics of UIScrollView
Alternatively, you may also explore UITableView if your data represents a logical group or set which can be presented as cells/rows on a TableView.
精彩评论