iphone-duo-displayslisted
Install: claude install-skill Urbanrenewalroridula3044/iPhone-Duo-Agent-Skill
# iPhone Duo displays, hinge, scenes and cameras
Code: `references/displays-code.md`. Availability: `references/api-availability.md` —
the hinge APIs, `CameraCaptureAccessory`, the direction coordinator and the physical
front camera types need the **iOS 27.1 SDK**, which ships with Xcode 27.1;
`sceneAccessory`, `onAvailabilityChange`, `UISceneAccessory` and
`UIWindowScene.ActivationAction` exist earlier. The hinge reaches you only through
`UIHingeInteraction` / `onHingeChange`: there is no trait, no notification and no
`UIDevice` property. StandBy cannot be verified in the iPhone Duo simulator
(Xcode 27.1 known issues 187708663, 187708767). Which half
carries the outer display and the inner camera, how each pose faces, and what each
camera can do: `references/device-geometry.md`.
## Hinge (Tech Talk 111464, 0:49–2:35)
- SwiftUI `onHingeChange { previous, context in … }`; UIKit
`UIHingeInteraction { _, update in … }` added to a view with `addInteraction`.
- Reports a status — closed, partially open, fully open (UIKit also `unknown`) — and
a continuous angle (`UIHinge.angle` is in radians; the SwiftUI sample uses `Angle`).
- `context.hinge == nil` (UIKit: `update.hinge == nil`) means the device has no hinge
or the view left a hierarchy that provides hinge updates: every hinge feature must
degrade to nothing on other devices. `UIHingeInteraction.isEnabled` pauses updates.
- Filter for `.partiallyOpen` when reading the angle, and **reset in the else branch**
so the e