iPhone: UIDatePicker - setting the time?
iPhone: UIDatePicker - setting the time?
- Subject: iPhone: UIDatePicker - setting the time?
- From: "Eric E. Dolecki" <email@hidden>
- Date: Mon, 19 Oct 2009 13:01:40 -0400
I am trying to set a UIDatePicker (in Time mode) to a specific hour, minute
and am/pm. I assume that I need to create a NSDate object with said hr, min,
ampm & then apply it to my picker, but after some googling and checking APIs
I am not seeing a direct way of doing this. I have my hr and mins as int, my
ampm at the moment as a string.
I could play with views to keep my view with my picker "modal" - ie. it
disappears but never gets unloaded, but I don't feel that's a good way to
go.
Thanks,
Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden