i want to add 4 picker controls on a single view can any 1 help me

Discussion in 'iPhone/iPad Programming' started by amruta1487, Jan 6, 2009.

  1. macrumors newbie

    Joined:
    Nov 27, 2008
    #1
    What i have to do is, to add 4 picker controls on single view. n have to select value from all of them after spinning it. should get 4 values. can anybody help me
     
  2. Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    I don't know about anyone else but I haven't a clue what you're actually asking for.
     
  3. macrumors 6502a

    sanPietro98

    Joined:
    May 30, 2008
    Location:
    28.416834,-81.581214
    #3
    I think what you're asking is that you want 4 UIPickerView controls on one UIView. I'm assuming you can put each one in a UITableView, but I would highly suggest you don't.

    One UIPickerView takes up roughly 3/4 of the screen (in height). If you have multiple pickers, how does the iPhone know how to scroll down as opposed to "spinning" the picker? It is the same swipe action.

    My recommendation is that you have a UITableView with 4 rows. When the user selects a row, your app should navigate to a new view with one UIPickerView. You can have a "save" or "cancel" button to return back to the table view. This would be more in conformance to the Apple style guides.
     
  4. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    How many sets of values are each of these four picker controls needing? If it's just one, I would suggest a single picker with four sets of values instead.
     

Share This Page