Many landscape apps have the long side on the left side down, but UE4 defaults to the lower long side on the right side.
I thought it would be nice to have an option to change the default orientation in the project setting.
I think that it is controlled by the following part.
Engine\Source\Programs\UnrealBuildTool\Platform\IOS\UEDeployIOS.cs
Ini.GetBool("/Script/IOSRuntimeSettings.IOSRuntimeSettings", "bSupportsLandscapeRightOrientation", out bSupported); SupportedOrientations += bSupported ? "\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n" : ""; bSupportsLandscape = bSupported; Ini.GetBool("/Script/IOSRuntimeSettings.IOSRuntimeSettings", "bSupportsLandscapeLeftOrientation", out bSupported); SupportedOrientations += bSupported ? "\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n" : ""; bSupportsLandscape |= bSupported;
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59381 in the post.
0 |
Component | UE - Platform - Mobile |
---|---|
Target Fix | 4.21 |
Created | May 21, 2018 |
---|---|
Resolved | Sep 3, 2018 |
Updated | Aug 21, 2021 |