You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
I have been relying on cordova-plugin-keyboard to hide the form accessory bar in iOS. However, this change broke the compatibility with WKWebView.
Looks like with the previous code cordova-plugin-keyboard would attach observers to keyboard events and then look for the affected webview instance to apply the change to. Now the change is applied to the webview class and since WKWebView does not use that class the right property is not being modified.
I tried changing Class webBrowserClass = NSClassFromString(@"UIWebBrowserView"); to Class webBrowserClass = self.webView.class; to get the class of the instance, but that didn't work.
I also tried setting up the inputAccessoryView property in ReroutingUIWebView.m the same way scrollView is set up, but that didn't work either.
Any suggestions for how to fix this issue?
The text was updated successfully, but these errors were encountered:
I have been relying on
cordova-plugin-keyboard
to hide the form accessory bar in iOS. However, this change broke the compatibility with WKWebView.Looks like with the previous code
cordova-plugin-keyboard
would attach observers to keyboard events and then look for the affected webview instance to apply the change to. Now the change is applied to the webview class and since WKWebView does not use that class the right property is not being modified.I tried changing
Class webBrowserClass = NSClassFromString(@"UIWebBrowserView");
toClass webBrowserClass = self.webView.class;
to get the class of the instance, but that didn't work.I also tried setting up the
inputAccessoryView
property inReroutingUIWebView.m
the same wayscrollView
is set up, but that didn't work either.Any suggestions for how to fix this issue?
The text was updated successfully, but these errors were encountered: