We are using a split view controller that has the keyboard on it. If the keyboard is activated and the view with the keyboard is changed (but the keyboard control remains active), when hideKeyboard is called, self.keyboardActiveInput returns a deallocated text edit pointer.
Wrapping the 3 lines in hideKeyboard with:
This seems to fix this issue. Not sure if this is the best way to take care of this or if the object that self.keyboardActiveInput returns should be set to nil when "inputKeyboardDidHide" is called or something else.
Thanks for a great drop-in!
Quick fix for Issue #34
Indeed, inputKeyboardDidHide should be setting it to nil, but it's not being called due to the keyboard remaining active... Pushed a quick fix, will look into a more comprehensive fix.
Thanks for the quick update and response. =)