I'm trying to move the view up when the keyboard pops up over the UITextfield
which is placed on UIScrollView
. I'm using UIKeyboardWillShowNotification
and UIKeyboardWillHideNotification
for this.
It's working perfectly when using iOS Keyboard
where I'm getting the height 297
.
My client is using the Gboard keyboard
, he complained that the view is not moving. When I tested, I'm getting the keyboard height as 44
.
I've tried both keys UIKeyboardFrameBeginUserInfoKey
and UIKeyboardFrameEndUserInfoKey
for the NSNotifiction userInfo
object. Both are giving 44
only.
I tried with UIKeyboardDidShowNotification
and UIKeyboardDidHideNotification
also, still same issue.
Could anyone help me with this..?
UITableview
. I've bothUIScrollView
andUITableView
– Radcliffframe
and notwillShowVisibleHeight
driver. – Wandie