问题
i got a pickerview and i want to add a code that will automaticaly show at the user the row i want.
thanks
回答1:
Use the -selectRow:… method.
[thePickerView selectRow:123 inComponent:0 animated:YES];
来源:https://stackoverflow.com/questions/2883683/obj-c-iphone-programming-change-selection-on-pickerview-programaticaly