Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Display keyboard without user interaction on WKWebview

TakoTako Member ✭✭

I'm currently converting my app from UIWebview to WKWebview.
In UIWebview we had a parameter named KeyboardDisplayRequiresUserAction, setting it to false would let me display the keyboard whenever JS focuses a field.
In WKWebview however, there's no such parameter.
I found this Objective C workaround but wasn't able to implement it in C#:

Anyone has a similar issue and managed to solve it somehow?



  • LandLuLandLu Member, Xamarin Team Xamurai

    You can implement it using native code, then use binding library to consume in Xamarin.
    This thread seems to talk about the the same issue you are facing. And he has attached the zip files. You can have a try.

Sign In or Register to comment.