Skip to content

UIWindowSceneGeometry: isInterfaceOrientationLocked property ​

The isInterfaceOrientationLocked property indicates whether the interface orientation is locked right now (iOS 26 and later).

Value ​

A boolean.

Examples ​

js
application.addEventListener('sceneconnect', (e) => {
  console.log(e.scene.effectiveGeometry.isInterfaceOrientationLocked);
});

Result: logs false.

Corresponding iOS API ​

UIWindowSceneGeometry.isInterfaceOrientationLocked.