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.
views:
84answers:
1
+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
2010-05-03 01:17:43
Thank you very much..
iSharreth
2010-05-03 02:46:35