iOS 16 API updates

This commit is contained in:
2022-10-11 15:04:37 -07:00
parent 75153d1c4a
commit 6be801420c
2 changed files with 3 additions and 3 deletions

View File

@@ -113,8 +113,8 @@
// Instantiate web view
WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:webViewConfiguration];
if ([webView respondsToSelector:@selector(_setFindInteractionEnabled:)]) {
webView._findInteractionEnabled = YES;
if (@available(iOS 16.0, *)) {
webView.findInteractionEnabled = YES;
}
// Configure proxy interface (interface to remote web process)