We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84019b9 commit c79c314Copy full SHA for c79c314
Source/Classes/SLKTextViewController.m
@@ -1044,7 +1044,7 @@ - (void)slk_reloadInputAccessoryViewIfNeeded
1044
}
1045
1046
// Reload only if the input views if the frame doesn't match the text input bar's.
1047
- else if (CGRectGetHeight(self.textView.inputAccessoryView.frame) != CGRectGetHeight(self.textInputbar.bounds)) {
+ else if (self.textView.inputAccessoryView && CGRectGetHeight(self.textView.inputAccessoryView.frame) != CGRectGetHeight(self.textInputbar.bounds)) {
1048
self.textView.inputAccessoryView = [self emptyInputAccessoryView];
1049
[self.textView refreshInputViews];
1050
0 commit comments