Created
November 21, 2014 19:07
-
-
Save mikeabdullah/6d6c3f3874fb55995b11 to your computer and use it in GitHub Desktop.
Attempt to end editing during dismissal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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