You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//may have originated from textField or barButtonItem, use an IBOutlet instead of element
self.animalTextField.text = [self.animals objectAtIndex:self.selectedIndex];
}
And i got this error
-[UIPickerView removeTarget:action:forControlEvents:]:
The text was updated successfully, but these errors were encountered:
When user click on done i got this error while setting selected text to TextField. Below is what i did to set text.
(void)animalWasSelected:(NSNumber *)selectedIndex element:(id)element {
self.selectedIndex = [selectedIndex intValue];
//may have originated from textField or barButtonItem, use an IBOutlet instead of element
self.animalTextField.text = [self.animals objectAtIndex:self.selectedIndex];
}
And i got this error
-[UIPickerView removeTarget:action:forControlEvents:]:
The text was updated successfully, but these errors were encountered: