Fix building with Xcode 14 RC
This commit is contained in:
parent
ff9286ca48
commit
f4196a2c26
|
@ -72,7 +72,10 @@ class ReadViewController: UIViewController {
|
|||
webView.isOpaque = false
|
||||
webView.backgroundColor = .clear
|
||||
if #available(iOS 16.0, *) {
|
||||
// TODO: Xcode 14 RC doesn't have the macOS 13 SDK, so we can't use this
|
||||
#if !targetEnvironment(macCatalyst)
|
||||
webView.isFindInteractionEnabled = true
|
||||
#endif
|
||||
}
|
||||
if let content = itemContentHTML() {
|
||||
webView.loadHTMLString(content, baseURL: item.url)
|
||||
|
|
Loading…
Reference in New Issue