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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com

This email sent to luket...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to