views:

84

answers:

1

How can we change the position of the selector in the Pickerview when it is loaded. For example, I want to make row 3 initially selected when it is loaded. Anyone please help.

+2  A: 

[pickerView selectRow:selectedIndex inComponent:0 animated:YES];

animated with cause the selector to start at 0 and swing to selectedIndex, animated at NO will simply cause the picker to appear with the selected index.

MarkPowell
Thank you very much..
iSharreth