Reading value from selected row in picker
问题 i have created picker in Xcode with 3 columns, 2. and 3. column are filled with data based on the data in first column. It works fine, and data is displaying correctly, my only problem is how can i write value that is currently displaying ing selected row for 2. and 3. column to some string? Thank you. 回答1: Use - [UIPickerView selectedRowInComponent:] to determine which row is selected, and then return the object at that index within your data array. - (void)pickerView:(UIPickerView *