Permalink
Browse files

Quick fix for Issue #34

  • Loading branch information...
1 parent 13d7b7f commit 6248e9f8886fe6693b75923fef4be17b085d7b5c @danielamitay committed Mar 27, 2013
Showing with 6 additions and 3 deletions.
  1. +6 −3 DAKeyboardControl/DAKeyboardControl.m
@@ -192,9 +192,12 @@ - (void)removeKeyboardControl
- (void)hideKeyboard
{
- self.keyboardActiveView.hidden = YES;
- self.keyboardActiveView.userInteractionEnabled = NO;
- [self.keyboardActiveInput resignFirstResponder];
+ if (self.keyboardActiveView)
+ {
+ self.keyboardActiveView.hidden = YES;
+ self.keyboardActiveView.userInteractionEnabled = NO;
+ [self.keyboardActiveInput resignFirstResponder];
+ }
}
#pragma mark - Input Notifications

0 comments on commit 6248e9f

Please sign in to comment.