• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhone: UIDatePicker - setting the time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPhone: UIDatePicker - setting the time?
      • From: Luke the Hiesterman <email@hidden>
  • Prev by Date: Re: Custom NSURLProtocol crashes when using Garbage Collection
  • Next by Date: Re: iPhone: UIDatePicker - setting the time?
  • Previous by thread: Re: Neophyte Question: Connecting to nib objects
  • Next by thread: Re: iPhone: UIDatePicker - setting the time?
  • Index(es):
    • Date
    • Thread