How to find and highlight a string in a pdf displayed in a WKWebView? – Ios swift
I have an iOS app where I can display html and pdf-files. I try to implement a find-in-page functionality which is available since iOS14 (find(_:configuration:completionHandler:)). Here is my implementation: private func searchInPage(forward: Bool) { ktWebView.select(nil) searchIsAtTop = false searchIsAtEnd =…