Is it possible to specify a default window size for a 2D window in visionOS? I know this is normally achieved by modifying the WindowGroup
with .defaultSize(width:height:)
, but I get an error that this was not included in "xrOS". I am able to specify .defaultSize(width:height:depth:)
for a volumetric window, but this doesn't have any effect when applied to a 2D one.
See here for both positioning and sizing windows: https://developer.apple.com/documentation/visionos/positioning-and-sizing-windows