When the user switches directly from one text field to another, it is possible that inputKeyboardWillShow and inputKeyboardDidShow are called without inputKeyboardWillHide and inputKeyboardDidHide called in between.
This caused DAKeyboardControl to add multiple gesture recognizers to the view, loosing references to any but the last. That led to eg. UIScrollViews not working properly after dismissal of the Keyboard.
When the user switches directly from one text field to another, it is possible that
inputKeyboardWillShow
andinputKeyboardDidShow
are called withoutinputKeyboardWillHide
andinputKeyboardDidHide
called in between.This caused DAKeyboardControl to add multiple gesture recognizers to the view, loosing references to any but the last. That led to eg. UIScrollViews not working properly after dismissal of the Keyboard.
This pull request fixes that issue.