Having a UIPickerView inside a UITableView like "add alarm" in the iphone

Discussion in 'iOS Programming' started by chemistslime, Sep 16, 2008.

  1. chemistslime macrumors member

    Joined:
    Jul 13, 2007
    #1
    I'm trying to get the effect that is like the clock "add Alarm" visual effect. However, how do you add a UIPickerView to the bottom of the table? Thanks in advance.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Looks like a UIVIew with two subviews: the table and the picker to me. Seems pretty simple: create a UIView the size of the screen. Create a UITableView of the appropriate size and position. Add it as a subview. Same for the UIPickerView.
     

Share This Page