Create a gist now

Instantly share code, notes, and snippets.

Attempt to end editing during dismissal
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
if (self.isBeingDismissed) {
[self.view endEditing:YES];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment