---
title: DeviceHingeContext
framework: SwiftUI
role: symbol
role_heading: Structure
platforms: [iOS 27.1+, iPadOS 27.1+]
path: swiftui/devicehingecontext
---

# DeviceHingeContext

A type describing the context of hinges on the device.

## Declaration

```swift
struct DeviceHingeContext
```

## Overview

Overview You use this type with the View/onHingeChange(_:) view modifier.

## Topics

### Getting hinge context information

- [hinge](swiftui/devicehingecontext/hinge.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Responding to hinge angle changes

- [onHingeChange(isEnabled:_:)](swiftui/view/onhingechange(isenabled:_:).md)
- [DeviceHinge](swiftui/devicehinge.md)
