Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionSheetString picker Crash #75

Closed
Programmer-Nikhil opened this issue Oct 13, 2014 · 1 comment
Closed

ActionSheetString picker Crash #75

Programmer-Nikhil opened this issue Oct 13, 2014 · 1 comment

Comments

@Programmer-Nikhil
Copy link

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:]:

skywinder added a commit that referenced this issue Oct 13, 2014
@skywinder
Copy link
Owner

Fixed in 1.1.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants