Making use of two or more pickerviews

Discussion in 'iOS Programming' started by Dwain87, Feb 15, 2011.

  1. Dwain87, Feb 15, 2011
    Last edited: Feb 15, 2011

    Dwain87 macrumors newbie

    Joined:
    Jan 25, 2011
    #1
    edit

    Hello,

    I use a UIPickerView to implement a kind of drop down menu.
    Now i want to add a second pickerview (up to three), how shall i manage it?
    Is there any simple way to add a second pickerview?
    Shall i create a new ViewController or am I able to add the second pickerView in my main ViewController?

    Thanks in advance :)
     
  2. spiffers Suspended

    Joined:
    Apr 12, 2009
    #2
    I would probably make a custom view where the picker should be, and have a titlebar above it, and a next button next to the title, and animate out the first picker to the left, and animate in the next picker from the right. Like the way you navigate through the view stack. In that way you keep the same paradigm the user is used to, and you save screen estate compared to have more pickers on one screen. But with that kind of approach you probably have to reinvent the pickers yourself...
     

Share This Page