hinge
TypeScriptget hinge(): (DeviceHinge) | nullSwift declarationvar hinge: DeviceHinge?The current hinge of the device.
struct · iOS 27.1+ · SDK 27.1
struct DeviceHingeContextA type describing the context of hinges on the device. You use this type with the ``View/onHingeChange(_:)`` view modifier.
get hinge(): (DeviceHinge) | nullSwift declarationvar hinge: DeviceHinge?The current hinge of the device.
set hinge(value: (DeviceHinge) | null)Swift declarationvar hinge: DeviceHinge?The current hinge of the device.
No declarations were skipped in this snapshot.