PDA

View Full Version : spinning wheel




cartwa
Jun 18, 2009, 03:19 AM
How hard is it to add that spinning wheel you see when asked to choose a date or make a choice from many options - to an app?



robbieduncan
Jun 18, 2009, 04:39 AM
It's a basic, built-in control. Read the documentation for UIPickerView (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIPickerView_Class/Reference/UIPickerView.html#//apple_ref/occ/cl/UIPickerView) of if it's date's specifically the UIDatePicker (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIDatePicker_Class/Reference/UIDatePicker.html) documentation.

Note that you should have read all of the appropriate documentation before starting coding anything. This includes, but is not limited to, the iPhone Application Programming Guide (http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html), the iPhone Development Guide (http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/000-Introduction/introduction.html) and the iPhone HIG (http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/Introduction/Introduction.html). Had you done so you would have known the answer to this and almost all other basic questions.