Re: iPhone: UIDatePicker - setting the time?
Re: iPhone: UIDatePicker - setting the time?
- Subject: Re: iPhone: UIDatePicker - setting the time?
- From: Luke the Hiesterman <email@hidden>
- Date: Mon, 19 Oct 2009 10:19:16 -0700
You're looking for the date property on UIDatePicker.
Luke
On Oct 19, 2009, at 10:01 AM, Eric E. Dolecki wrote:
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
_______________________________________________
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