# Conflicting Orientation Behavior with UBlueprintPlatformLibrary::SetAllowedDeviceOrientation on iOS 

**URL:** <https://forums.unrealengine.com/t/conflicting-orientation-behavior-with-ublueprintplatformlibrary-setalloweddeviceorientation-on-ios/2673500>\
**Category:** Platform & Builds\
**Tags:** orientation, unreal-engine, iOS, question\
**Created:** [November 10, 2025, 3:52pm UTC](https://forums.unrealengine.com/t/conflicting-orientation-behavior-with-ublueprintplatformlibrary-setalloweddeviceorientation-on-ios/2673500 "2025-11-10T15:52:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hymonssss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hymonssss](https://forums.unrealengine.com/u/Hymonssss)\
**Post date:** [November 10, 2025, 3:52pm UTC](https://forums.unrealengine.com/t/conflicting-orientation-behavior-with-ublueprintplatformlibrary-setalloweddeviceorientation-on-ios/2673500/1 "2025-11-10T15:52:41Z")

</div>

**Subject: Conflicting Orientation Behavior with UBlueprintPlatformLibrary::SetAllowedDeviceOrientation on iOS**

**Description:**

I’m encountering inconsistent behavior when setting screen orientation on iOS using `UBlueprintPlatformLibrary::SetAllowedDeviceOrientation` in UE5.

According to the UE5 documentation, `EScreenOrientation::LandscapeLeft` should position the **Home button on the right** (device rotated counterclockwise 90° from portrait), which aligns with Apple’s `UIInterfaceOrientation` definition where [`UIInterfaceOrientationLandscapeLeft`](https://developer.apple.com/documentation/uikit/uiinterfaceorientation) represents home button on the right.

However, when I call:

```cpp

UBlueprintPlatformLibrary::SetAllowedDeviceOrientation(EScreenOrientation::LandscapeLeft);

```

The actual result on my iOS device shows the **Home button on the left** , which contradicts both UE5’s documentation and Apple’s [UIInterfaceOrientation](https://developer.apple.com/documentation/uikit/uiinterfaceorientation) specification where `UIInterfaceOrientationLandscapeLeft` clearly indicates home button on the right side.

This creates a significant inconsistency because:

- UE5’s `EScreenOrientation::LandscapeLeft` documentation states Home button should be on the right

- Apple’s official [`UIInterfaceOrientation`](https://developer.apple.com/documentation/uikit/uiinterfaceorientation) documentation confirms this mapping

- Yet the practical implementation results in the opposite behavior

**Environment:**

- Unreal Engine 5.x

- iOS 18.x

**Questions:**

1. Is there a known mapping issue between UE5’s `EScreenOrientation` and iOS’s native `UIInterfaceOrientation`?

2. Does UE5 internally handle orientation mapping differently in `SetAllowedDeviceOrientation`?

3. Should I use `LandscapeRight` to actually achieve the documented `LandscapeLeft` behavior (Home button right)?

4. Is this a version-specific bug or documentation error that needs addressing?

I would appreciate any clarification on this orientation mapping discrepancy and guidance on achieving consistent landscape orientation behavior.
