views:

346

answers:

1

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.

+1  A: 

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.

erastusnjuki