This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
38c14c1
commit 9980266
Showing
3 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,10 +214,7 @@ - (void)jsq_didReceiveKeyboardDidHideNotification:(NSNotification *)notification | |
[self jsq_handleKeyboardNotification:notification completion:^(BOOL finished) { | ||
[self.panGestureRecognizer removeTarget:self action:NULL]; | ||
|
||
if ([self.delegate respondsToSelector:@selector(keyboardControllerDidReceiveKeyboardHideNotification:)]) { | ||
[self.delegate keyboardControllerDidReceiveKeyboardHideNotification:self]; | ||
} | ||
|
||
[self.delegate keyboardControllerKeyboardDidHide:self]; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jessesquires
Author
Owner
|
||
}]; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -768,10 +768,10 @@ - (void)keyboardController:(JSQMessagesKeyboardController *)keyboardController k | |
|
||
} | ||
|
||
- (void)keyboardControllerDidReceiveKeyboardHideNotification:(JSQMessagesKeyboardController *)keyboardController { | ||
- (void)keyboardControllerKeyboardDidHide:(JSQMessagesKeyboardController *)keyboardController | ||
{ | ||
[self jsq_setToolbarBottomLayoutGuideConstant:0.0f]; | ||
|
||
[self.inputToolbar.contentView.textView resignFirstResponder]; | ||
This comment has been minimized.
Sorry, something went wrong.
0xbad1
|
||
} | ||
|
||
- (void)jsq_setToolbarBottomLayoutGuideConstant:(CGFloat)constant | ||
|
crashing because respondsToSelector is missing - removed accidentially?
fixed with:
if ([self.delegate respondsToSelector:@selector(keyboardControllerKeyboardDidHide:)]) {
[self.delegate keyboardControllerKeyboardDidHide:self];
}
please add this to the latest version ;)