Post

Replies

Boosts

Views

Activity

Reply to Switching to custom keyboard size glitches
I’m having the exact same issue. my setup   - UIInputViewController subclass   - A UIHostingController wrapping our SwiftUI view, added as a child view controller   - The hosting controller's view is pinned to self.view with Auto Layout constraints (leading, trailing, top, bottom)   - The SwiftUI view has a fixed .frame(height: 260)   - No custom UIInputView, no allowsSelfSizing I’ve tried: explicit frames, height constraints, UIInputView vs direct self.view, disabling UIHostingController keyboard avoidance, runtime overrides of _UIHostingView notification handlers). None had any effect.
Topic: UI Frameworks SubTopic: UIKit
Mar ’26
Reply to Switching to custom keyboard size glitches
I’m having the exact same issue. my setup   - UIInputViewController subclass   - A UIHostingController wrapping our SwiftUI view, added as a child view controller   - The hosting controller's view is pinned to self.view with Auto Layout constraints (leading, trailing, top, bottom)   - The SwiftUI view has a fixed .frame(height: 260)   - No custom UIInputView, no allowsSelfSizing I’ve tried: explicit frames, height constraints, UIInputView vs direct self.view, disabling UIHostingController keyboard avoidance, runtime overrides of _UIHostingView notification handlers). None had any effect.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Mar ’26