Clicking with UIPickerView selectRow:inComponent:animated:

Discussion in 'iOS Programming' started by North Bronson, Apr 29, 2009.

  1. macrumors 6502

    Oct 31, 2007
    San José
    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?

Share This Page