We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e213f15 commit bd0ba38Copy full SHA for bd0ba38
Sources/SwiftCrossUI/_App.swift
@@ -87,7 +87,9 @@ class _App<AppRoot: App> {
87
environment: self.environment
88
)
89
90
- //self.backend.setApplicationMenu(body.commands.resolve())
+ if #available(iOS 13.0, *) {
91
+ self.backend.setApplicationMenu(body.commands.resolve())
92
+ }
93
}
94
self.cancellables.append(cancellable)
95
@@ -107,7 +109,9 @@ class _App<AppRoot: App> {
107
109
108
110
111
// Update application-wide menu
112
113
114
115
116
rootNode.update(
117
nil,
0 commit comments