1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

how can i implement a datepicker in a uiScrollView?

Discussion in 'iPhone/iPad Programming' started by macedes, Feb 21, 2012.

  1. macrumors newbie

    #1
    When i click on a textfield, the date picker pops up but when i scroll a little bit down the date picker moves up. how can i fix the date picker in the bottom of the screen?
     
  2. Moderator

    dejo

    Staff Member

    #2
    Don't add the datePicker as a subview of the scrollView but, rather, as a subview of the main view, whatever that may be in your case.
     
  3. macrumors newbie

    #3
    thank you!!
     

Share This Page