View Full Version : how can i implement a datepicker in a uiScrollView?

Feb 21, 2012, 04:36 AM
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?

Feb 21, 2012, 08:22 AM
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.

Feb 21, 2012, 10:55 AM
thank you!!