When the orientation of the screen is changed (from ScreenOrientation.Portrait to ScreenOrientation.Landscape) via a script (with Screen.orientation) on iOS 10 devices, sometimes the screen remains in portrait orientation, but the game view gets flipped and goes over the edge of the screen and leaves black area in the bottom part of the screen.
Context: Our app starts in Portrait, has autorotate disabled, and we explicitly force LandscapeLeft upon loading a “level” – this step of explicitly changing from Portrait to LandscapeLeft causes the bug to appear almost 50% of the time on iOS 10.
This is more of an iOS issues as far as I can tell, because this issue also used to happened to non-Unity apps that has a storyboard as the launch display. The issue went away in later iOS versions, although no release notes from Apple acknowledged the issue or mentioned that the issue was fixed.