Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GhostDZ9

macrumors regular
Original poster
Sep 13, 2010
118
0
Hey guys,

I am building a timer for my app and I want to know how i can receive the selection the user makes from the timer view in UIDatePicker? Could anyone help me out or point me in the right direction?

Regards,

Rehan
 
Last edited:

chown33

Moderator
Staff member
Aug 9, 2009
10,750
8,422
A sea of green
1: Read the class reference doc for UIDatePicker
http://developer.apple.com/library/...IDatePicker_Class/Reference/UIDatePicker.html

This class reference doc should also be available in Xcode's iOS SDK doc-set. If it's not, you should tell Xcode to retrieve it (Preferences window, Documentation pane).

2: Decide which of the properties or methods gives the duration of the count-down timer.

3: Use the property to get the count-down duration.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.