Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top