Hello friends!
In my Catalyst app, I want to allow very thin windows (~200pt or so), as the content scales nicely.
I can use UISceneSizeRestrictions like this:
#if targetEnvironment(macCatalyst)
windowScene.sizeRestrictions?.minimumSize = CGSize(width: 100, height: 600)
#endif
And it works fine for minimum widths >= 500.
For any minimum widths less than 500, the app still enforces a 500pt minimum window width, ignoring this setting.
Is there a workaround?