Hi,
I’ve been experimenting with iOS 9 beta 4’s new features, namely split screen multitasking and for the most part it works very nicely on Unity 5.0.3p3!
That said, iOS 9 split screen multitasking requires that all four screen orientations be enabled (Portrait, Portrait Upside down, Landscape Right, Landscape Left).
This is not ideal for my game because although it scales decently, the experience is definitely subpar in portrait mode.
What I’d like to do is enable the screen rotations to satisfy the iOS requirement, but force Unity to only render the game in landscape mode. One way I thought of doing this is programmatically by setting the screen orientation settings when the game starts – but this does not seem to be working.
Here’s what I did exactly:
Screen.autorotateToPortrait = false;
Screen.autorotateToPortraitUpsideDown = false;
Screen.autorotateToLandscapeLeft = true;
Screen.autorotateToLandscapeRight = true;
Screen.orientation = ScreenOrientation.AutoRotation;
Any thoughts? Would be a really great help!