How can i initialize selection bar in UIPickerview, when i run it, it shows ,first row is selected with bar..how can i change the row inwhich selection bar must be there dynamically?
i have done like following ...its not working?
- (NSInteger)pickerView:(UIPickerView *)thePickerView numberOfRowsInComponent:(NSInteger)component
{
[psportPicker selectRow:3 inComponent:component animated:YES];
return [citycount];
}