Row index of pickerview is not displaying correctly.

Posted by iSharreth on Stack Overflow See other posts from Stack Overflow or by iSharreth
Published on 2010-04-06T22:06:24Z Indexed on 2010/04/06 23:23 UTC
Read the original article Hit count: 244

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];
}

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk