PDA

View Full Version : Clicking with UIPickerView selectRow:inComponent:animated:




North Bronson
Apr 29, 2009, 06:01 PM
I have a PickerView that I am loading with some data from NSUserDefaults. When the user brings up the PickerView, the view resets to the last state the user was in. I use the selectRow:inComponent:animated: method to make this happen.

If I pass "NO" for animated: the view picks the right cell without animation, which is what I want. The picker still makes a "click" sound -- which kind of seems out of place. Can I turn this off?