Skip to content

iOS: hinge control and fold state for leased iPhone Duo simulators #1686

Open

Description

@AI-JamesHenry

The problem

A client that shows a leased iPhone Duo can't control its hinge, and can't tell which pose it is in.

As a result, T3 Code's Device panel turns its iPhone Duo 3D view off for pool devices, and draws the unfolded inner panel (720×506) into a portrait frame, squeezed about 2× (pingdotgg/t3code#38343). T3 Code's own device hub gives it these fields for local simulators: supportsHingeAngle, hingeAngle (0 to 180), hingePose (closed, book, open, laptop, tent) and screenId.

Who runs into this

A developer building an app for the iPhone 18 Pro and the iPhone Duo. A Mac mini M1 runs Simlock 0.8.0 (gateway and worker side by side, with one slim iPhone 18 Pro and one slim iPhone Duo kept warm). A T3 Code environment on another Mac leases from it over Tailscale, and builds and serves the app (Metro) from there. Agents drive the devices with agent-device. People review the UI in T3 Code's Device panel, which is where folding by hand and seeing the true unfolded shape matter.

What you would like to happen

  1. Hinge control on iOS foldable simulators. 0x10 sets the pose or hinge angle on a leased iPhone Duo and answers {ok:true}, as agent-device fold already can.

  2. Fold state reported to stream and input clients:

    • that the device supports a hinge;
    • its current pose or angle;
    • which screen is in use.

    This would ride beside the existing mid-stream size change, so a client can draw the right frame and its own fold controls.

  3. Optionally, a flag on the lease or device saying it is foldable, so a client knows before the stream opens.

Anything else

Activity

  1. added
    request:new
    on Nov 18, 2026
  2. added
    platform:ios
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform:iosrequest:new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions