Enable find interaction on iOS 16
This commit is contained in:
parent
b79c8af12c
commit
382826bfff
|
@ -70,6 +70,9 @@ class ReadViewController: UIViewController {
|
|||
// transparent background required to prevent white flash in dark mode, just using .appBackground doesn't work
|
||||
webView.isOpaque = false
|
||||
webView.backgroundColor = .clear
|
||||
if #available(iOS 16.0, *) {
|
||||
webView.isFindInteractionEnabled = true
|
||||
}
|
||||
if let content = itemContentHTML() {
|
||||
webView.loadHTMLString(content, baseURL: item.url)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue