UIPickerView selected row

Discussion in 'iOS Programming' started by erdinc27, Mar 17, 2016.

  1. erdinc27 macrumors regular

    Jul 20, 2011
    I want to select first row from UIPickerView when it is displayed on the screen.

    But what i want to do is the user will not even touch the picker view. I try to select first row but
    didSelectItemAtIndexPath is not fired. Because picker view didnt move. So how can i select the first row of picker View ?
  2. AxoNeuron macrumors 65816


    Apr 22, 2012
    The Left Coast
    There's no need for that specific method to fire. Just set the very first item in the data array as your selected object.

Share This Page