I have a UIPickerView with 3 components, I need the first 2 components to show a string and the third to show an image. Can I do this by implementing both:
- (NSString *) pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row
forComponent:(NSInteger)component reusingView:(UIView *)view
Or do I need to create labels and only implement viewForRow?
1 Answer