PDA

View Full Version : Timer with UIPickerView




GhostDZ9
May 30, 2011, 12:53 PM
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



chown33
May 30, 2011, 01:23 PM
1: Read the class reference doc for UIDatePicker
http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIDatePicker_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.