Reputation: 86
I need the index number of the item that I have selected in my pickerview. I am able to get the row value thru objectatindex:row, however I need the index value when I click the done button that I have. Thanks
Upvotes: 1
Views: 2831
Reputation: 86
figured it out
_lblResult.text=
[NSString stringWithFormat:@"%d",[self.pvTickets selectedRowInComponent:0]]
Upvotes: 1