iphone uipickerview : image and text

Solutions Collect From Internet About “iphone uipickerview : image and text”

You will need to create your own view for each row of the picker. This is easy enough if it’s just a UIImageView and a UILabel. You can then pass the view to your picker using this UIPickerViewDelegate method.

- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view