Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)viewDidLoad
- {
- // load data from sql
- // self.someDataArray = DATAFROMSQL
- [picker reloadAllComponents];
- [picker selectRow:0 inComponent:0 animated:YES];
- }
- - (void) viewDidAppear:(BOOL)animated {
- [m_pickerView selectRow:nSelectedItem inComponent:0 animated:YES]; }
- [myPickerView selectRow:rowWithTedsName inComponent:columnWithNames animated:NO];
Add Comment
Please, Sign In to add comment