views:

90

answers:

0

I had used images in pickerview. But the row number is not displaying correctly. Anyone please help. I used the below code :

- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row 
          forComponent:(NSInteger)component reusingView:(UIView *)view
{
    NSLog(@"Row : %i",row);

    return [customPickerArray objectAtIndex:row];
}