Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes

My keyboard extension has a function that increases the keyboard height when enabled. However, the hosting app do not always get the UIKeyboardDidChangeFrameNotification on such changes, causing unpredictable layout problems in the host.

Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes
 
 
Q