Reputation: 51
I have one issue with Datetime Picker
In my firstview i have button.If i click that button it should open DateTime Picker in the second view.
After selecting the datetime it should show datetime in the firstview text field.
Please help in this issue.
Upvotes: 0
Views: 1436
Reputation: 1511
I would have wrote code but it is all explained VERY well here by Wei-Meng Lee. Instead of showing a UIAlertView
, pass the date to yourTextField.text
That's for a wonderful tutorial that will be helpful.
Further refrences: Coredatabooks sample code from Apple.
Upvotes: 1