You can select a row by calling this method on pickerview
selectRow:inComponent:animated
:
Edit:
You are getting strings from res
, first you have to add label string to this array so you can have this row in pickerView
.
After that in viewWillAppear or any other method where you want call this method.
First get index of that sring/object.
NSInteger index=[resindexOfObject:label.text];
Now select the row.
if(index != NSNotFound ){
[self.myPicker selectRow:index inComponent:0 animated:NO]
}