Hello, I have an app which is a full screen app.
Since updating xcode, the force-landscape and force-portrait modes are broken. I am looking for a way to have a full-screen app in landscape, or a full-screen app in portrait.
The previous process that I found, which worked was the following: setNeedsUpdateOfSupportedInterfaceOrientations() UIWindowScene.requestGeometryUpdate(.landscape)
Then returning the correct value on uiviewcontroller override var supportedInterfaceOrientations : UIInterfaceOrientationMask { return [.portrait, .portraitUpsideDown, .landscapeLeft, .landscapeRight] }
This is going to destroy 2 full years of development, the entire app hinges on being able to use portrait OR landscape mode. There are portrait scenes and landscape scenes. When you setup a scene, you can rotate the device. Once the scene is setup, it needs to be fixed into one orientation and run full-screen.
Please let me know best practices for this use case. I look to the monks, jedis, ninjas, and warriors to guide me through this swamp of sorrows. Thanks!