We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45ab566 commit 311a36bCopy full SHA for 311a36b
Code/RKKeyboardScroller.m
@@ -73,6 +73,8 @@ - (void)dealloc
73
74
- (void)handleKeyboardNotification:(NSNotification *)notification
75
{
76
+ if (!self.viewController.isViewLoaded || self.viewController.view.window == nil) return;
77
+
78
NSDictionary *userInfo = [notification userInfo];
79
80
CGRect keyboardEndFrame = [[userInfo objectForKey:UIKeyboardFrameEndUserInfoKey] CGRectValue];
0 commit comments