#SwiftUI Has anyone got openWindow to work on iPadOS from the Command menu? Console throws "Use of OpenWindowAction requires the SwiftUI App Lifecycle" (the whole app is). Button works fine when inside a View (and works on Mac)
@jaywardell thanks for the suggestion and taking the time to write a gist! It does indeed appear the Command environment is quite different (uhh…broken). Passing an action from the App/Scene as you suggested works. It also appears to work as a focused scene value, which has the benefit of not passing it around.
@phill yes, that’s a much more elegant approach.