Support for Sydro find interaction

This commit is contained in:
James Magahern
2022-03-28 16:52:03 -07:00
parent c1e194cfe9
commit 44cde0018b
4 changed files with 31 additions and 11 deletions

View File

@@ -9,6 +9,14 @@ import UIKit
class FindOnPageViewController: UIViewController, _WKFindDelegate
{
static func isEnabled() -> Bool {
if #available(iOS 16.0, *) {
return false
}
return true
}
let findOnPageView = FindOnPageView()
weak var webView: WKWebView? {
didSet { webView?._findDelegate = self }