iphone SDK:如何获取UIPicker当前选定的行?

时间:2009-10-29 19:39:21

标签: iphone

如何获取UIPicker的当前选定行?

我想用它来获取相关的字符串。像这样。问题是我不知道如何获得这一行。

//need to get currently selected row
 NSString *strPeriodSelection = [arrayRecurChoices objectAtIndex:periodPicker.row???];

提前致谢。

1 个答案:

答案 0 :(得分:5)