File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/ios/reactnativeuilib/keyboardtrackingview Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 10
10
#import " ObservingInputAccessoryViewTemp.h"
11
11
#import " UIResponder+FirstResponderTemp.h"
12
12
13
+ #import < WebKit/WebKit.h>
13
14
#import < React/RCTScrollView.h>
14
15
#import < React/RCTBridge.h>
15
16
#import < React/RCTUIManager.h>
@@ -128,7 +129,7 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
128
129
return subview;
129
130
}
130
131
131
- -(void )_swizzleWebViewInputAccessory : (UIWebView *)webview
132
+ -(void )_swizzleWebViewInputAccessory : (WKWebView *)webview
132
133
{
133
134
UIView* subview;
134
135
for (UIView* view in webview.scrollView .subviews )
@@ -235,9 +236,9 @@ - (void)initializeAccessoryViewsAndHandleInsets
235
236
{
236
237
[self setupTextView: (UITextView*)subview];
237
238
}
238
- else if ([subview isKindOfClass: [UIWebView class ]])
239
+ else if ([subview isKindOfClass: [WKWebView class ]])
239
240
{
240
- [self _swizzleWebViewInputAccessory: (UIWebView *)subview];
241
+ [self _swizzleWebViewInputAccessory: (WKWebView *)subview];
241
242
}
242
243
}
243
244
You can’t perform that action at this time.
0 commit comments