Description

The EDeviceScreenOrientation landscape values appear to be inverted on iOS based on the comments in the code.

i.e.

  1. EDeviceScreenOrientation::LandscapeRight // The orientation is landscape with the home button at the *left* side

However when looking at how the iOS device orientation maps to the unreal EDeviceScreenOrientation in IOSPlatformMisc::ConvertFromUIInterfaceOrientation we find

  1. case UIInterfaceOrientationLandscapeRight : return EDeviceScreenOrientation::LandscapeRight; break;

The apple documentation for UIInterfaceOrientationLandscapeRight states "The device is in landscape mode, with the device upright and the Home button on the right." [Link Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-95179 in the post.

5
Login to Vote

Unresolved
ComponentUE - Platform - Mobile
Affects Versions4.24
Target Fix5.6
CreatedJul 2, 2020
UpdatedSep 27, 2024
View Jira Issue