Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要我在pickerview 中选择的项目的索引号。我可以通过 objectatindex:row 获取行值,但是当我单击我拥有的完成按钮时我需要索引值。谢谢
弄清楚了
_lblResult.text= [NSString stringWithFormat:@"%d",[self.pvTickets selectedRowInComponent:0]]