Alert: I am in the process of migrating this site to ers.land !
Please update any bookmarks or feed subscriptions; p3l6.dev will be set to redirect soon.
Work with windows in SwiftUI
<<Back to Index
New environment actions, acting on window group ids
open window, dismiss window, push window
It’s unclear if push window is available on macOS or iPad
Can set the new window position programmatically
.defaultWindowPlacement
Such as leading or trailing to another window
Or relative to screen corners
.windowResizability(.contentSize) sets the min/max to that of the contained view
p3l6.dev
Home
Now
Hobbies
Blog
Recipes
Resume
Contact
Blueprint