Consider this scenario, I have a text view with a Dismiss keyboard interactively installed in the storyboard, so when the user scrolls down and can turn off the keyboard interactively. I have limitations on the text image below to make sure that it is always fully displayed in the view.
The current problem is that when the user gradually scrolls down to reject the keyboard, I cannot detect changes in the keyboard frame. I tried UIKeyboardWillHideNotification and UIKeyboardWillChangeFrameNotification , they were called only after the keyboard was fired.
So my question is, how can we simultaneously detect changes in the keyboard frame when the keyboard is interactively disabled?
source share