Alternatives for picker in iphone/iOS app?

3.9k views Asked by At

I am showing a form the user fills in my iPhone app. One of the fields is a set of 2 or 3 dates from which the user has to pick one. Putting a picker, or bringing up a table view just for this takes up too much space, leaving no room for the other fields. Is there any simpler way to do this?

2

There are 2 answers

1
Jigar Pandya On BEST ANSWER

To do this you can put two or three arrowed label with text like "Select Date" upon click of it you can show one view that allow user to select the date; once selected you can back to the original view. You can do this for all three (or two) dates and get those date on form view.

I am giving you idea of how you can design apps; if you want code i can assist that too but from your question it seems you want design ideas.

3
rishi On

You can go for your custom drop down/combo box, but their is no inbuilt functionality present for this. Also following is mentioned in apple HIG guideline, you need to consider those as well- (http://developer.apple.com/library/IOs/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html)

Guidelines

Use a picker to make it easy for people to choose from a set of values. It’s often best to use a picker when people are familiar with the entire set of values. This is because many, if not most, of the values are hidden when the wheel is stationary. If you need to provide a large set of choices that aren’t well known to your users, a picker might not be the appropriate control.

Consider using a table view, instead of a picker, if you need to display a very large number of values. This is because the greater height of a table view makes scrolling faster.

Use the translucent selection bar to display contextual information, such as a unit of measurement. Do not display such labels above the picker or on the wheel itself.

On iPad, present a picker only within a popover. A picker is not suitable for the main screen.