@@ -120,7 +120,7 @@ - (void)pluginInitialize
120120 }
121121
122122 if (![settings cordovaBoolSettingForKey: @" KeyboardDisplayRequiresUserAction" defaultValue: YES ]) {
123- [self keyboardDisplayDoesNotRequireUserAction ];
123+ [self keyboardDisplayDoesNotRequireUserAction ];
124124 }
125125
126126 [self updateSettings: settings];
@@ -139,14 +139,14 @@ - (void)pluginInitialize
139139
140140// https://github.com/Telerik-Verified-Plugins/WKWebView/commit/04e8296adeb61f289f9c698045c19b62d080c7e3
141141- (void ) keyboardDisplayDoesNotRequireUserAction {
142- SEL sel = sel_getUid (" _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:" );
143- Class WKContentView = NSClassFromString (@" WKContentView" );
144- Method method = class_getInstanceMethod (WKContentView, sel);
145- IMP originalImp = method_getImplementation (method);
146- IMP imp = imp_implementationWithBlock (^void (id me, void * arg0, BOOL arg1, BOOL arg2, id arg3) {
147- ((void (*)(id , SEL , void *, BOOL , BOOL , id ))originalImp)(me, sel, arg0, TRUE , arg2, arg3);
148- });
149- method_setImplementation (method, imp);
142+ SEL sel = sel_getUid (" _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:" );
143+ Class WKContentView = NSClassFromString (@" WKContentView" );
144+ Method method = class_getInstanceMethod (WKContentView, sel);
145+ IMP originalImp = method_getImplementation (method);
146+ IMP imp = imp_implementationWithBlock (^void (id me, void * arg0, BOOL arg1, BOOL arg2, id arg3) {
147+ ((void (*)(id , SEL , void *, BOOL , BOOL , id ))originalImp)(me, sel, arg0, TRUE , arg2, arg3);
148+ });
149+ method_setImplementation (method, imp);
150150}
151151
152152- (void )onReset {
0 commit comments