I Know there is few question on this site talk about this… but I don’t find real answer that i can use…
I have a form that contain common UITextField and a UIButton that supposedly show UIDatePicker sliding from bottom when user click the button…
The main question is:
- how to show
UIDatePickerover the TabBar like iphone keyboard did - how make the
UIDatePickeris behave like a keyboard, so when i click UITextField while
selecting date, it changed to keyboard and vice versa… like iphone contact did.
Thanks in advance
Set input View of your textfield to be a UIDatePicker object:
UITextField has following properties.
@property (readwrite, retain) UIView *inputView;
Use following code:
so instead of keyboard which is default for UITextfield, your picker will appear when textfield is tapped….