From 1375f2d2e65607be44728c02ab50b0c083097f9b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 1 Jul 2026 08:31:36 +0800 Subject: [PATCH] fix: await UIApplication.shared.open() for iOS 17+ async API --- Sources/SwiftBricks/Core/Engine.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftBricks/Core/Engine.swift b/Sources/SwiftBricks/Core/Engine.swift index 16d5d46..cd1a99b 100644 --- a/Sources/SwiftBricks/Core/Engine.swift +++ b/Sources/SwiftBricks/Core/Engine.swift @@ -160,7 +160,7 @@ public final class BricksEngine: ObservableObject { #if os(macOS) NSWorkspace.shared.open(URL(string: url)!) #elseif os(iOS) - UIApplication.shared.open(URL(string: url)!) + await UIApplication.shared.open(URL(string: url)!) #endif } case .bricks: