I have an UIPickerView
with 3 components populated with 2 NSMutableArrays
(2 components have the same array).
A tutorial says:
//PickerViewController.m
- (void)pickerView:(UIPickerView *)thePickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component {
NSLog(@"Selected Color: %@. Index of selected color: %i", [arrayColors objectAtIndex:row], row);
}
But I want to show the selected row for each component in an UIAlertView
after the user touched an UIButton.
Is there a way to do this? Or must I just use 3 invisible UILabels
as buffer?
Thanks in advance.