to initialize selection bar in UIPickerview?
<p>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?</p>

<p>i have done like following ...its not working?</p>

<pre><code>- (NSInteger)pickerView:(UIPickerView *)thePickerView numberOfRowsInComponent:(NSInteger)component 

      {

     [psportPicker selectRow:3 inComponent:component animated:YES];
     return [citycount];


    }
</code></pre>
