Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes

Hello, I am developing a custom keyboard. Our team have been having trouble with the UIKeyboardDidChangeFrameNotification. I am looking for some help.My keyboard extension has a function that increases the keyboard height when enabled. However, the host do not always get the UIKeyboardDidChangeFrameNotification on such changes, causing layout problems in the hosting app.Here is my setup: Xcode 13 Beta5, iOS 14.2.1 on iPhone 12 mini. I debugged with a UITextField in a dummy application. One way to reproduce this issue is like this: Launch my keyboard in the hosting app (UIKeyboardDidChangeFrameNotification is received as expected) Toggle keyboard height change (UIKeyboardDidChangeFrameNotification is NOT received sometimes) Return to home. Open the hosting app, where my keyboard has resumed its normal height. (UIKeyboardDidChangeFrameNotification is NOT received sometimes). I believe this is a bug with UIKit where keyboard frame change notifications are not sent properly. We have been receiving feedbacks from our users related to this issue. For example, some users reported that the height of the comment box in Youtube may not be located properly when our keyboard changed its height. This has an impact on our user retention.

I have met the same problem, bro. Please inform me if you have any answer of it.

Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes
 
 
Q