Customizing inputAccessoryView on iOS for Entry, Editor and HybridWebView html <textarea> #33630
Unanswered
hflexgrig
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here, I’d like to share the results of several intense days spent customizing InputAccessoryView for iOS input controls—particularly for HTML text inputs inside a HybridWebView. This turned out to be even more challenging than implementing share extensions, which says a lot.
I hope this repository helps others avoid the same pitfalls and saves them a significant amount of time. :)
This is how it looks by default ( blue rounded button with a white checkmark, which dismisses the keyboard when tapped and for hyrbidwebview large semi-transparent white panel above the keyboard, featuring up and down arrow buttons on the left and a checkmark button on the right)
Simulator.Screen.Recording.-.iPhone.16e.-.2026-01-20.at.21.35.48.mov
And this is after customizing it
Simulator.Screen.Recording.-.iPhone.16e.-.2026-01-20.at.21.51.38.mov
My real app was accepted by Apple for distribution, but there was a real risk of getting rejection because private UIKit / WebKit internals in several ways that Apple explicitly flags as unsafe. Also method swizzling of private classes ("WkContentView", "_WKContentView", "WKScrollView")...
Here is the repo i've created https://github.com/hflexgrig/CustomInputAccessoryViewInMAUIiOS
Beta Was this translation helpful? Give feedback.
All reactions