I have one issue with Datetime P开发者_运维问答icker
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.
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.
精彩评论