Timer with UIPickerView

Discussion in 'iOS Programming' started by GhostDZ9, May 30, 2011.

  1. GhostDZ9, May 30, 2011
    Last edited: May 30, 2011

    macrumors regular

    Sep 13, 2010
    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?


  2. macrumors 604

    Aug 9, 2009
    1: Read the class reference doc for UIDatePicker

    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.

Share This Page