0

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 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 :-(

Rupesh Yadav
  • 12,096
  • 4
  • 53
  • 70
Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154

1 Answers1

1

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.

Community
  • 1
  • 1
Bourne
  • 10,094
  • 5
  • 24
  • 51
  • Data is not representing a logical group, but I tried UIScrollView, but can't see progress, – Chatar Veer Suthar Mar 04 '11 at 10:33
  • Did you read the post I'm pointing you to? It covers it very well. What is the issue you are having? Are you having a design issue in your app? – Bourne Mar 04 '11 at 10:38
  • can I have scroll when my data is not so large? – Chatar Veer Suthar Mar 04 '11 at 10:45
  • You can have a scrollView anywhere. But common sense tells you that scroll should be used only when the data you are presenting cannot be possibly presented in the given screen real estate. Choose accordingly. – Bourne Mar 04 '11 at 10:48
  • well dear it is working, but still it is starting from second page, horizentally, i don't know why effecting so ..... :-( – Chatar Veer Suthar Mar 04 '11 at 11:03