1

我需要我在pickerview 中选择的项目的索引号。我可以通过 objectatindex:row 获取行值,但是当我单击我拥有的完成按钮时我需要索引值。谢谢

4

1 回答 1

1

弄清楚了

 _lblResult.text=
    [NSString stringWithFormat:@"%d",[self.pvTickets selectedRowInComponent:0]]
于 2013-09-23T00:40:05.540 回答