我用数组中的值初始化了dataPicker。在运行时,dataPicker首先显示数组第一个值(array[0])的值,例如,我希望第一个值将是array[4]的值。我该怎么做?
array[0]
array[4]
发布于 2014-03-09 11:49:06
加载后,选择想要的行.
int theRowIWant = 4; [picker selectRow:theRowIWant inComponent:0 animated:YES];
苹果文档
https://stackoverflow.com/questions/22281275
相似问题