Skip to content

#723 iPhone Duo device reference - #726

Merged
ivanfenenko merged 1 commit into
mainfrom
feature/723-iphone-duo-reference
Oct 18, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
feature/723-iphone-duo-reference

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a stable reference for iPhone Duo (#723), so the next prototype or layout change can start from measured numbers instead of re-measuring the device. The research behind #725 took most of a session.

What's added

  • docs/devices/iphone-duo.md: the device reference.
    • Displays, corner radii, and the five poses with window sizes, size classes and safe areas.
    • The trailing status column and its glyph positions, the outer camera hole and the under-display camera, and the fold region (active only in Book).
    • System vertical-bar rules (what moves, rail order, item size and positions, top-bar placement), the iOS 27.1 APIs, the #if canImport(SwiftUI, _version: 8.0.85) compile gate, and the safe-area reader gotcha.
    • The simulator workflow, including a JXA snippet that presses Device Hub's pose buttons, since simctl has no pose command.
  • docs/devices/iphone-duo/geometry.json: the same numbers in machine-readable form, for prototypes.
  • scripts/iphone-duo-frames.sh: exports Apple's Duo device frames (DeviceKit phone15 and phone14 chrome) from the local Xcode as SVG. Apple's artwork isn't committed.
  • AGENTS.md: one line pointing agents at docs/devices/.

Sources

  • Almost every value comes from the Xcode 27.1 iPhone Duo simulator: a probe app on the iOS 27.1 SDK, system-bar probes, and screenshots in each Device Hub pose.
  • The inner under-display camera frame is from a published probe and is marked as such.

Docs only; no app code changes. This doesn't close #723; that work is in #725.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need.

Measured iPhone Duo geometry for layouts and prototypes: displays, poses,
safe areas, size classes, status column, camera holes, fold, system vertical
bar rules, iOS 27.1 APIs and SDK gate, and the simulator pose workflow.
geometry.json carries the same numbers for prototypes, and a script exports
Apple's device frames from the local Xcode instead of committing them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ivanfenenko
ivanfenenko merged commit 28b544f into main Oct 18, 2026
@ivanfenenko
ivanfenenko deleted the feature/723-iphone-duo-reference branch October 18, 2026 21:30
@ivanfenenko ivanfenenko mentioned this pull request Oct 18, 2026
1 task
@ivanfenenko ivanfenenko mentioned this pull request Oct 26, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPhone Duo support

1 participant