diff --git a/Views/BuildingBlocks/WebView.swift b/Views/BuildingBlocks/WebView.swift index 6b968698..8f6d59e0 100644 --- a/Views/BuildingBlocks/WebView.swift +++ b/Views/BuildingBlocks/WebView.swift @@ -122,7 +122,9 @@ final class WebViewController: UIViewController { override func viewDidLayoutSubviews() { super.viewDidLayoutSubviews() - webView.setValue(view.safeAreaInsets, forKey: "_obscuredInsets") + if #unavailable(iOS 18.0) { + webView.setValue(view.safeAreaInsets, forKey: "_obscuredInsets") + } layoutSubject.send() } }