UIInputViewController how to configure for custom size UIInputView

UIInputView documentation says for the property allowsSelfResizing:

When the value of this property is
false
(the default), UIKit determines an appropriate size of the input view based on its current layout. When the value of this property is
true
, UIKit honors the value returned by the
systemLayoutSizeFitting(_:)
method of the input view.

I set up a subclass of UIInputView, but the systemLayoutSizeFitting never gets called. Is anyone aware of other steps I need to take to support this feature of having a custom keyboard view height.

Could you show the complete code of your subclass of UIInputView ? Is it for a custom keyboard ?

If so, could this help ?

h ttps://stackoverflow.com/questions/25281501/uitextfield-inputview-is-not-working-in-swift

UIInputViewController how to configure for custom size UIInputView
 
 
Q