From 0f6e76971518dc8697101761f61a29208c785890 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Tue, 7 Jul 2026 12:32:47 +0300 Subject: [PATCH] fix: compile ios scroll edge handling --- packages/mobile/ios/App/App/AppDelegate.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/mobile/ios/App/App/AppDelegate.swift b/packages/mobile/ios/App/App/AppDelegate.swift index d9364555..9bcc459e 100644 --- a/packages/mobile/ios/App/App/AppDelegate.swift +++ b/packages/mobile/ios/App/App/AppDelegate.swift @@ -146,8 +146,9 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { webView.backgroundColor = .clear webView.scrollView.backgroundColor = .clear if #available(iOS 26.0, *) { - webView.scrollView.topEdgeEffect.isHidden = true - webView.scrollView.bottomEdgeEffect.isHidden = true + for key in ["topEdgeEffect", "bottomEdgeEffect"] { + (webView.scrollView.value(forKey: key) as? UIView)?.isHidden = true + } } }