iPhone Duo 开发者工具

帮你把 App 适配到折叠屏的 MCP 服务器、智能体技能、库和示例代码,涵盖布局、界面、动画和铰链。每一个都由编辑读过并写了简介,附上安装方法。

共 199 个工具,来自 186 位作者。最后核对于 10月19日。 自己做了一个?把链接发给我们。

显示 199 个

MCP 服务器

通过 Model Context Protocol(MCP)让编程智能体操作模拟器,包括折叠。

MCP 服务器编辑精选

Argent

Software MansionGitHubApache-2.0

Software Mansion's MCP server hands a coding agent the simulator: taps, screenshots, logs and profiling. Its fold tool moves the Duo simulator's hinge to closed, half-open, open or any angle, and every other tool follows the lit display.

npx @swmansion/argent@latest init
  • 不限技术栈

测试 · 铰链

MCP 服务器智能体技能实用工具

Framegrove

BAM StudioGitHubMIT

BAM Studio's free App Store screenshot editor, with iPhone Duo templates for the outer screen and the inner screen upright or in landscape. It also has a command-line tool and an MCP server so an agent can build and export the images.

claude mcp add framegrove -- npx -y framegrove mcp
  • 不限技术栈

样机

MCP 服务器

Mobile MCP

Mobile NextGitHubApache-2.0

Mobile Next's MCP server lets a coding agent drive iOS and Android simulators, emulators and phones. Its fold tool folds and unfolds the Duo simulator and Android foldables, so the agent can check both displays.

claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest
  • 不限技术栈

测试 · 铰链

MCP 服务器实用工具

VibeView

VibeViewvibeview.io

Apple's Duo simulator streamed from VibeView's Macs to a browser tab: fold it with one click or drag to any hinge angle. Its CLI and MCP server give a coding agent the same posture control. Paid, with a small free tier.

  • 不限技术栈

测试 · 铰链

在创意墙上查看

智能体技能

编程智能体加载后用来适配 App 的说明和参考资料,适用于 Claude Code、Codex、Cursor 等。

智能体技能编辑精选

iPhone Duo adaptation

Sven-Eric MolzahnGitHubMIT

API names read from the iOS 27.1 SDK's interface files, code samples type-checked against it, and sizes measured in the Duo simulator. In the README's test, the same model passed 98% of checks on three Duo tasks with the skill and 53% without.

  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能编辑精选

iPhone Duo Skills

NavidGitHub

Eleven skills: a readiness audit, the fold and reserved regions, vertical bars, the hinge and scenes, the cameras, design review and games, plus one each for Flutter, React Native and Capacitor apps. Rechecked against Apple's API reference.

npx skills add mirzaaghazadeh/iphone-duo-skills
  • SwiftUI
  • UIKit
  • Flutter
  • React Native
  • Capacitor

布局 · 界面组件 · 铰链

智能体技能

Adapt UI for iPhone Duo

Nan WuGitHubMIT

Nan Wu's skill for Codex and similar agents audits SwiftUI and UIKit screens, then designs, builds and checks layouts for the cover, the open display and partial folds, keeping work clear of the fold and in place as the phone opens. README in four languages.

  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能实用工具

App Factory

yybdGitHubMIT

Claude Code skills that frame and check Duo screenshots, then send both displays through App Store Connect's asset library. Version 0.6.0 adds the Duo workflow; the maker tested a read-only dry run, but no upload.

  • 不限技术栈

样机

智能体技能

app-store-screenshots

Parth JadhavGitHubMIT

Parth Jadhav's agent skill that sets up a small web editor for App Store screenshots, with iPhone Duo outer and inner sets in portrait and landscape and a closed-and-open pair.

npx skills add ParthJadhav/app-store-screenshots
  • 不限技术栈

样机

智能体技能MCP 服务器

AppBootstrapAI

Kelvin KosbabGitHubMIT

Kelvin Kosbab's set of rules, skills and MCP setups for Claude, Copilot, Cursor, Gemini, Codex and Kiro. Its adaptive layout skill has a Duo guide to arranging both halves, keeping controls off the fold and keeping your place when the phone folds.

./install.sh setup
  • SwiftUI
  • UIKit

布局 · 铰链

智能体技能

Apple Design Skill

farmerwuGitHub

A design reviewer based on Apple's guidelines that works for Flutter, React Native, Electron and Tauri as well as native apps. Its Duo mode walks the cover, the open display, a partial fold and Split View, and flags bars and dialogs an app draws itself.

npx skills add dickwu/apple-design-skill
  • 不限技术栈

界面组件 · 布局

智能体技能

Apple iPhone Duo Skill

Daniel James TroncaGitHubMIT

Daniel James Tronca's skill, built from Apple's six Duo talks, the lab transcripts and the Xcode 27.1 SDK. It helps an agent prepare, build and review Duo apps: resizing, layouts beside the fold, side bars, multiple windows and the cameras.

npx skills add DanielJamesTronca/apple-iphone-duo-skill -g
  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能

Apple Workflow Skills

o1xhackGitHubMIT

o1xhack's set of agent skills for Apple platform work. Its Duo part covers layouts that adapt to the folding screens, drawn from Apple's talks and preparation documents, and adds a check of how ready an app is.

  • SwiftUI
  • UIKit

布局 · 铰链 · 测试

智能体技能

apple-hig

Alex PritsertGitHubMIT

Alex Pritsert's Claude skill on Apple's design guidelines and the thinking behind them. Version 2.0 adds a full Duo reference: displays, poses, side controls, the fold, Split View and a 14-point review checklist.

npx apple-hig
  • 不限技术栈

界面组件 · 布局

智能体技能MCP 服务器

Axiom

Charles WiltgenGitHubMIT

A large set of skills and agents for Apple platforms, as a Claude Code plugin or over MCP. Its iPhone Duo skill covers poses, vertical bars, the fold, arrangements, the hinge and scene accessories, and a resize auditor checks layouts.

/plugin marketplace add CharlesWiltgen/Axiom
  • SwiftUI
  • UIKit

布局 · 界面组件 · 铰链

智能体技能

Duo Field Guide

jayinthedayGitHubMIT

jayintheday's agent skill and offline guide for auditing an app's Duo layouts: navigation, keeping content off the fold, and keeping state as the window resizes. Ten rules, each with a checklist of what to look for. It's guidance, with no sample app.

  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能

Duo-ready

Pavel GurovGitHubMIT

Pavel Gurov's Claude skill for websites on the Duo. It loads your pages closed, open, turned and in Split View, finds buttons and links that land on the crease, moves them off with one separate block of CSS, and draws before-and-after mockups.

/plugin marketplace add gurovdigital/duo-ready
  • 网页

布局 · 测试 · 样机

智能体技能

Expo 58 + iPhone Duo skill

Mahdi SalmanzadeGitHubMIT

Mahdi Salmanzade's skill for the Expo SDK 58 beta helps adapt layouts to the Duo, keep drafts through a fold and cope when there's no hinge reading. The author's checks cover the source only, with no native build or Duo simulator test.

  • React Native

布局 · 铰链 · 测试

智能体技能

FWC SwiftUI Skills

Florian SchweizerGitHubMIT

Florian Schweizer's SwiftUI skill pack. Its swiftui-iphone-duo skill adapts apps for the Duo: layouts sized by the window, side bars, content kept off the fold, two-pane layouts, hinge interactions and camera screens.

npx skills add FloWritesCode/fwc-swiftui-skills --skill swiftui-iphone-duo
  • SwiftUI

布局 · 界面组件 · 铰链

智能体技能

HIG Agent Skills

Justin WetchGitHub

Justin Wetch's Apple design guidelines skill, updated with Apple's Duo page. Its /duo command looks at an existing app's screens, matches them to Apple's Duo advice, proposes changes for you to approve, then builds them in SwiftUI or UIKit.

  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能

ios-simulator-automation

Hideo EndoGitHubMIT

Hideo Endo's Claude skill for driving the Xcode 27 simulator by command and MCP: which tools really tap, rotate and screenshot, which report success and do nothing, and for the Duo, folding it and tapping the inner display with duoctl. English and Japanese.

cp -R ios-simulator-automation-skill ~/.claude/skills/ios-simulator-automation
  • 不限技术栈

测试

智能体技能

iPhone Duo (staticdreams)

staticdreamsGitHub

A skill for moving an existing SwiftUI or UIKit app to the Duo without breaking iPhone, iPad or Mac. It never checks for the Duo by name: each Duo behaviour hangs on a feature that is simply absent elsewhere. With an audit checklist.

  • SwiftUI
  • UIKit

布局 · 界面组件

A skill for SwiftUI, UIKit and mixed apps, built from Apple's documentation. It helps an agent review an app, plan the move to the Duo, and redo navigation, toolbars and layouts, then lists what to test when the phone resizes and folds.

npx skills add Erikote04/iphone-duo-skill --skill iphone-duo-skill
  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能

iPhone Duo Agent Skills

Aleksei KakoulinGitHubMIT

Five skills that measure the project, check what the installed SDK compiles, then propose a plan in tiers, each item citing the Tech Talk timestamp or document it comes from. Code changes wait for your approval.

npx skills add https://github.com/alexey1312/iPhone-Duo-Agent-Skill
  • SwiftUI
  • UIKit

布局 · 界面组件 · 铰链

Tudor Turcanu's skill for Antigravity, Claude Code and other agents. It audits code that fights resizing, swaps hand-built bars for system ones that move aside on the Duo, and uses the real Duo features for the fold, hinge and cameras.

npx skills add tudorturcanu/iphone-duo-skill
  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能

iPhone Duo Design Conversion

Dat HuynhGitHub

Dat Huynh's agent skill for product managers and designers: a four-step plan for bringing an existing iPhone app to the Duo, from judging what each screen needs to writing the product spec and user stories.

  • 不限技术栈

布局 · 界面组件

智能体技能

iPhone Duo Design Guidelines

kaisGitHub

One rules file the agent applies as it writes code and when you ask for a review: size classes over orientation, controls off the hinge, system bars that turn vertical. Reviews come back as file, line, problem and fix.

npx skills add kaissaroj/iphone-duo-skills
  • SwiftUI
  • UIKit
  • React Native

布局 · 界面组件

智能体技能

iPhone Duo Design Skill

m238d211GitHubMIT

m238d211's design skill helps an agent review layouts, navigation and accessibility for the iPhone Duo, keeping Apple's guidance apart from measurements the community has worked out. The MIT license covers the repository's own material, not third-party assets.

  • 不限技术栈

布局 · 界面组件 · 测试

智能体技能

iPhone Duo Edge to Edge

Patricia Bedoyaoffform.design

Offform's agent skill for websites on the Duo. Safari keeps a strip of controls down one side and pages stop against it; the skill applies their fix, a page one column wider than the screen. Written for their Framer sites, it works on any.

  • 网页

布局 · 界面组件

智能体技能

iPhone Duo Migration

Nitin AlaburGitHubMIT

Nitin Alabur's skill and plugin first checks which installed Xcode can build the Duo features, then suggests two-pane layouts for an app's main tasks, guides the changes, and ends with a pose-by-pose test sheet that notes what wasn't checked.

codex plugin marketplace add nitinalabur/iphone-duo-migration --ref v0.1.2
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能实用工具

iPhone Duo Playbook

Aivars MeijersGitHubMIT

Aivars Meijers's agent skill for adapting an app to the Duo: how to lay out each pose, keep things off the fold and test it, with a script that checks a project for common problems.

  • SwiftUI
  • UIKit

布局 · 测试 · 铰链

智能体技能

iPhone Duo plugin

Anatolii KantGitHubMIT

Anatolii Kant's plugin for Claude Code and Codex has three parts: a skill for adapting Swift apps, a readiness audit that ranks problems by file and line without editing code, and a design review of Figma or Sketch mockups against the Duo rules.

npx skills add anatoliykant/iphone-duo-plugin
  • SwiftUI
  • UIKit

布局 · 界面组件 · 样机

智能体技能

iPhone Duo Prompt

nilsalbGitHub

A one-shot prompt to paste into a coding agent. It moves bars to the Duo's side bar, shows two columns when the phone is open, leaves other iPhones alone, and lists the dead ends to skip and a checklist with screenshots of each display.

  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能

iPhone Duo Readiness

Sviatoslav KliuchevGitHub

Reviews SwiftUI and UIKit layouts for what breaks when the window changes size: sizing from the screen, iPad checks, fixed text heights, overlapping controls, missing scrolling and wrong safe areas.

npx iphone-duo-readiness
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能实用工具

iPhone Duo simulator kit

whitenGitHubMIT

FoldHunt's skill and scripts for the Duo simulator: fold and turn it from the command line, capture the panel that is drawing, tap through Xcode's device-interaction tools while it's shut, and set captures in Apple's bezels, folded for book and laptop.

git clone --depth 1 https://github.com/WhitenWhiten/iphone-duo-simulator-skill .claude/skills/iphone-duo-simulator
  • SwiftUI
  • UIKit

测试 · 样机 · 铰链

阅读指南

智能体技能

iPhone Duo Skill

Daiki MatsudateGitHubMIT

A Claude Code skill built from Apple's six Duo Tech Talks, the HIG, the API docs and both Duo Group Labs, with a dated changelog of what it corrected. References for layout, scenes and the hinge, the cameras, and a checklist up to App Store submission.

npx skills add d-date/iphone-duo-skill
  • SwiftUI
  • UIKit

布局 · 铰链

智能体技能

iPhone Duo Skill (Bunn)

Fernando BunnGitHubMIT

SwiftUI and UIKit guidance with a sourced developer guide and small Swift API probes. It has the agent check every Duo API against the installed SDK, and says how it fits beside the skills Xcode 27.1 ships.

npx skills add Bunn/iphone-duo-skill --skill iphone-duo
  • SwiftUI
  • UIKit

布局 · 界面组件 · 铰链

智能体技能

iPhone Duo Skill (farkasseb)

Peter KrassayGitHubMIT

Peter Krassay's skill covers only what is new on the Duo: the side bar, the fold, the hinge, content on the outer display, the two front cameras and testing poses in the simulator. General resizing is left to Apple's own skill in Xcode.

git clone https://github.com/farkasseb/iphone-duo-skill ~/.claude/skills/iphone-duo
  • SwiftUI
  • UIKit

布局 · 铰链 · 测试

智能体技能

iPhone Duo Skill (Jimmy Park)

Jimmy ParkGitHubMIT

About design more than APIs: one adaptive app that holds together in every pose, with layout that follows the space it gets and the hinge used only where it adds something. Read me in English, Spanish and Korean.

  • SwiftUI
  • UIKit

布局

智能体技能

iPhone Duo skill (Mahdi Salmanzade)

Mahdi SalmanzadeGitHubMIT

Has the agent learn the app's structure and flows first, then change it and report evidence from builds and simulator runs. Covers SwiftUI, UIKit, React Native, Expo, Flutter and web wrappers.

npx skills add mahdi-salmanzade/iphone-duo-skill --skill iphone-duo
  • SwiftUI
  • UIKit
  • React Native
  • Flutter
  • 网页

布局 · 测试

智能体技能

iPhone Duo Skill (ztc0611)

Zach ColemanGitHub

Zach Coleman's skill for building layouts that adapt to the Duo's displays and the hinge, with notes on driving the Duo simulator: folding it and getting touches to the inner screen.

  • SwiftUI
  • UIKit

布局 · 铰链 · 测试

智能体技能实用工具

iPhone Duo Skills

Rajat VermaGitHubMIT

Rajat Verma's two skills scan app code and Interface Builder layouts for places that assume a single fixed screen, then help research Apple's iPhone Duo documentation.

  • SwiftUI
  • UIKit

布局 · 测试

智能体技能

iPhone Duo Skills (hechen)

hechenGitHubMIT

Eight skills for SwiftUI, UIKit and AVFoundation apps. One entry point sets the Xcode 27.1 baseline and hands off to readiness, design, layout, toolbars, scenes, camera and a pose-by-pose test plan.

npx skills add hechen/iphone-duo-skills --skill '*'
  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能

iPhone Duo Skills (SoundBlaster)

Egor MerkushevGitHubMIT

Egor Merkushev's Codex plugin finds the right SwiftUI example in Artem Novichkov's iPhone Duo by Examples and applies it to your screen, from hinge changes to keeping a draft in place when the phone is set down half-folded.

  • SwiftUI

布局 · 铰链

智能体技能

iPhone Duo skills for Capacitor

Erkam YamanGitHubMIT

For Capacitor and Ionic apps: keeping web content out of the crease with CSS variables, two-pane layouts, the hinge angle and posture, and the vertical tab bar, all through the capacitor-foldable plugin.

npx skills add erkamyaman/iphone-duo-capacitor-skills@capacitor-foldable
  • Capacitor
  • 网页

布局 · 铰链

智能体技能

iPhone Duo Support skill

Himanshu KushwahGitHubMIT

Himanshu Kushwah's skill walks an agent through readying any iOS app for the Duo, including React Native, Flutter, Unity and Capacitor ones. It checks the layout habits that break when the phone opens, and gives an honest route for stacks Apple doesn't cover.

  • SwiftUI
  • UIKit
  • React Native
  • Flutter
  • Capacitor

布局 · 界面组件

智能体技能

iPhone Duo UX

Mark ZimmermannGitHub

Mark Zimmermann's Claude skill, in German, for checking a Duo screen, Figma frame or concept: sizes in points, poses, the fold and camera areas, side bars and the hinge, with API names checked against the 27.1 SDK and Apple's open questions marked.

  • SwiftUI
  • UIKit

界面组件 · 样机

智能体技能

iphone-duo (Auspex)

AuspexGitHubMIT

A SwiftUI skill measured with its own lab app: two ways to arrange the open display, what each kind of toolbar control does in the vertical bar, and turning or folding without a flash. A stopwatch sample shows it all.

  • SwiftUI

布局 · 界面组件

在创意墙上查看

智能体技能

iphone-duo (Matt Birchler)

Matt BirchlerGitHubMIT

Audits an iOS app against Apple's Duo requirements, fixes what it finds and checks the result in the Duo simulator. A script downloads Apple's documentation, so the agent reads real signatures instead of guessing.

git clone https://github.com/mattbirchler/iphone-duo-skill ~/.claude/skills/iphone-duo
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能

iphone-duo-adaptive

Mustafa NaturGitHub

Mustafa Natur's agent skill that adapts a SwiftUI or UIKit app to the Duo. It runs Apple's own resizing skill first, asks before any redesign and saves your answers, fixes what breaks, captures both displays before and after, and preps App Store screenshots.

cp -R iphone-duo-adaptive-skill/iphone-duo-adaptive ~/.claude/skills/
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能实用工具

iphone-duo-design

BelweaveGitHubMIT

Belweave's skill helps an agent adapt SwiftUI and UIKit apps to the iPhone Duo, with a scanner for layouts that assume one screen, starter templates and a tool that frames screenshots. The README notes the templates aren't compiled in the project's CI.

  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试 · 样机

智能体技能

iphone-duo-design

Alex A. FallahGitHubMIT

Alex A. Fallah's skill for reviewing and adapting an iOS app for the Duo: layout and bars, controls kept off the fold, work kept as the phone opens and closes, scenes and the camera, and a readiness report marking each check verified, failed or blocked.

python3 scripts/install_skills.py --dest "$HOME/.agents/skills" --skill iphone-duo-design
  • SwiftUI
  • UIKit

布局 · 界面组件 · 测试

智能体技能

iphone-duo-development

Hideo EndoGitHubMIT

Hideo Endo's Claude skill treats the Duo as an iPhone whose window changes size a lot: make layouts resizable first, then handle uneven safe areas, side bars and the fold. Also covers Xcode 27.1 setup and App Store timing. English and Japanese.

  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能

iphone-duo-fit

PursuitliGitHubMIT

Fits an existing app to every pose (closed, open upright, open on its side) with sizes measured pixel by pixel while shipping a mail app, and the traps it hit along the way. SwiftUI and web or Capacitor apps; also a Claude Code plugin.

npx skills add Pursuitli/iphone-duo-skills
  • SwiftUI
  • Capacitor
  • 网页

布局 · 界面组件

智能体技能

iphone-duo-skill

MarioGitHubMIT

Mario's Claude skill for building and reviewing Duo apps and games: both displays, poses, the fold and camera regions, side toolbars, sheets, the camera and games, with a checklist and Swift samples. Beta, not yet built on the Duo SDK.

git clone https://github.com/TortMario/iphone-duo-skill.git ~/.claude/skills/iphone-duo
  • SwiftUI
  • UIKit

布局 · 界面组件

智能体技能

iphone-duo-skill (bones7456)

bones7456GitHubMIT

A Claude Code and Codex plugin drawn from adapting a shipping SwiftUI app. It scans for risky code, lists layout traps on the open display with tested fixes, boots the Duo simulator to screenshot the right display, and covers App Store screenshots.

/plugin marketplace add bones7456/iphone-duo-skill
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能

iphone-duo-ui

Moein SaboohiGitHub

A design skill. Attach a screenshot of your app and the agent rebuilds it as closed and open Duo layouts with the navigation down the side, delivered as two PNGs and an interactive 3D preview in one HTML file.

  • 不限技术栈

界面组件 · 样机

智能体技能

iPhoneDuoSkill

MickyGitHubMIT

Checks which Duo APIs the installed SDK has, then audits: a script runs 21 checks for patterns that break on the Duo and fails when it finds one, so it can run in CI. Read me in English and Chinese.

npx skills add aprilelevengo/iPhoneDuoSkill
  • SwiftUI
  • UIKit

布局 · 测试

智能体技能

Redesign your app for Duo

Vincent T.GitHubMIT

Redesigns the screens you name for the Duo, following Apple's Design for iPhone Duo talk, and returns a short summary with an HTML prototype to open. A starting point for design, not production code.

  • 不限技术栈

界面组件 · 样机

智能体技能

rsodre iPhone Duo skills

rsodreGitHub

rsodre's eight skills help adapt SwiftUI and UIKit apps to the Duo: resizing, side controls, the fold, the cameras and checks at launch. They come with a read-only script that reviews your code.

  • SwiftUI
  • UIKit

布局 · 界面组件 · 铰链 · 测试

智能体技能实用工具

rudi-sim

RudiverseGitHubMIT

Rudiverse's Claude Code skill that shows a website in a WebKit browser at 39 Apple screen sizes, including the iPhone Duo closed and open, with before and after pictures and a check mode.

/plugin install rudi-sim@rudi-sim
  • 网页

测试

智能体技能

Shotation skills

arnenooriGitHub

Two agent skills for capturing the Duo's cover and inner display as separate screenshots and preparing App Store sets. The repository declares no license.

  • 不限技术栈

测试 · 样机

智能体技能实用工具

store-screenshots-panorama

Zafer AYANGitHubMIT

Zafer AYAN's skill turns separate captures of the Duo's cover and inner display into panoramic App Store images, with light and dark layouts.

  • 不限技术栈

样机

Six skills by Yousanflics and contributors that review Duo layouts, keep navigation and drafts through a resize, and check sheets and windows, with test plans for opening and closing the phone.

npx skills add https://github.com/yousanflics/swiftui-adaptive-layout-agent-skill
  • SwiftUI

布局 · 界面组件 · 测试

智能体技能

SwiftUI Expert Skill

Antoine van der LeeGitHubMIT

A general SwiftUI skill with a Duo reference: choosing a large-display technique by screen structure, the two displays, fold regions, the hinge and scene accessories.

npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill
  • SwiftUI

布局 · 界面组件 · 铰链

智能体技能

SwiftUI Pro

Paul HudsonGitHubMIT

Paul Hudson's SwiftUI skill. Its resizability rules cover the Duo: size classes rather than idiom or orientation, the short outer display, system bars that move to the side, and toolbarVerticalEdge for custom controls.

npx skills add https://github.com/twostraws/swiftui-agent-skill --skill swiftui-pro
  • SwiftUI

布局 · 界面组件

智能体技能

swiftui-adaptive-layout

Alison AndraultGitHubMIT

Alison Andrault's agent skill of twelve layout mistakes found while adapting a shipping SwiftUI app to the iPhone Duo simulator, each with what it looks like, why it happens and the fix, plus a table for finding them.

  • SwiftUI

布局

智能体技能

uikit-iphone-duo

810152690GitHubApache-2.0

An agent skill for adapting UIKit apps to the Duo, with Swift and Objective-C examples: layouts that follow the window, side bars, sheet placement, content off the fold, two panes, the hinge and camera capture accessories. The UIKit twin of swiftui-iphone-duo.

git clone https://github.com/810152690/iOS-skills && cp -R iOS-skills/skills/uikit-iphone-duo ~/.claude/skills/
  • UIKit

布局 · 界面组件 · 铰链

智能体技能

unfold

KratagyaGitHubMIT

Kratagya's Claude Code plugin runs a team of agents over a phone-only Flutter app: it audits every screen, makes each fill a foldable or tablet, gives it a wide layout, and moves back buttons and tabs into the Duo's side strip. Each design call is logged.

claude plugin marketplace add https://github.com/kratagyaagarwaldots/unfold.git
  • Flutter

布局 · 界面组件

库

把折痕、铰链和栏的位置交给你的代码,或者提供跟着它们调整的组件。

库

@appshoteditor/shot-dsl

Furvur IncGitHubMIT

Furvur's library for laying out App Store screenshots knows the sizes of the Duo's cover and inner display and the geometry of its frame, and checks where things are placed. You bring the frame artwork yourself.

  • 网页

样机

A Swift game engine by Vladislav Prusakov and contributors. On the Duo, its Ada Studio editor reads the fold and keeps its panels off the crease. The design boards in the repository are generated mockups, not screenshots.

  • 不限技术栈

布局 · 铰链 · 界面组件

库

bifold

Aayush KedawatGitHubMIT

Aayush Kedawat's Flutter package for the Duo and Android foldables: it reports the pose, hinge angle, where the fold is and which display is in use, what the device can do, and has a split view, grid and scaffold that keep panes and dialogs off the crease.

flutter pub add bifold
  • Flutter

布局 · 铰链

库

Capacitor Foldable

Erkam YamanGitHubMIT

Fold state, posture, hinge angle, size classes and bar placement for Capacitor apps, plus a polyfill for the Device Posture and Viewport Segments web APIs. Its author's Hinge Guess game is built on it.

npm install @erkamyaman/capacitor-foldable
  • Capacitor
  • 网页

铰链 · 布局

库

Capgo Native Navigation

CapgoGitHubMPL-2.0

Native tab bars for Capacitor apps. On the Duo the system bar becomes a side rail, closed or open, and a curved bar keeps its round cradle around the center button as the phone unfolds.

npm install @capgo/capacitor-native-navigation
  • Capacitor

界面组件

在创意墙上查看

库

DesignFoundation

NerdSnipe IncGitHubMIT

NerdSnipe's SwiftUI library gives an app two-pane layouts on the iPhone Duo and keeps content clear of the fold and the camera, while older systems get the ordinary layouts.

  • SwiftUI

布局 · 界面组件

库

devicekit

EchoTechFEGitHubMIT

EchoTechFE's devicekit shows web pages inside frames of the iPhone Duo's cover and inner display. Its Duo support is in beta, and the maker says the measurements, safe areas and system bars are approximate.

pnpm add @devicekit/frame
  • 网页

样机 · 布局

库

dual_screen_hinge

Code GrowersGitHubMIT

Code Growers' Flutter plugin passes the Duo's hinge angle and where the fold and camera sit to Dart, for layouts of your own, with a sample app and tests against a mock. It guesses which display is in use and hasn't been tried on hardware yet.

  • Flutter

布局 · 铰链 · 动画

库

duo_display

geeklesGitHubMIT

A Flutter bridge for the Duo's fold and camera areas, so dialogs can stay on one side of the hinge, with layout tests built on fixtures. An early preview; the documentation is still to come.

  • Flutter

布局 · 铰链

库

duo_kit

LeanCodeGitHubApache-2.0

Works out where the system keeps room in a Flutter window (the bar strip, the fold, the cameras) and places your widgets around it: a scaffold, a split view that keeps both panes' state, and a tool that fakes a fold on any device.

flutter pub add duo_kit

库

duo_layout

DvxLabsGitHubMIT

DvxLabs' duo_layout brings the fold, the hinge angle and the side bar's space into Flutter, with vertical tabs, and content above the controls when half-folded. Needs Xcode and iOS 27.1.

  • Flutter

布局 · 界面组件 · 铰链

库

DuoHinge

Jason O'GradyGitHubMIT

A hinge you can drive without a Duo: a simulated hinge with angle and speed, a drag pad and slider for testers, and a modifier that takes the real angle on the device. Taken from the Hingy app.

.package(url: "https://github.com/jasonogrady/duo-hinge", from: "0.1.0")
  • SwiftUI

铰链 · 动画 · 测试

库

expo-foldables

Aziz BechaGitHubMIT

An Expo module for the hinge posture, the angle as it moves and where the fold crosses the window, on iPhone Duo and Android foldables, with React hooks on top.

npx expo install expo-foldables
  • React Native

铰链 · 布局

在创意墙上查看

Expo's module gives React Native apps the iPhone Duo's fold angle and folding state, updated live, with a fallback for phones without a hinge. Duo input needs iOS 27.1 and Xcode 27.1.

  • React Native

铰链

库

foldable

Berkay ÇatakGitHubMIT

Brings the Duo's hinge angle, posture and the fold and camera regions to Flutter over a platform channel, since Flutter leaves displayFeatures empty on iOS. adaptive_platform_ui builds on it to move bars to the side.

flutter pub add foldable
  • Flutter

铰链 · 布局

humblecode's Swift and web packages pass the Duo's fold and safe areas to web pages, with layouts that move or split content around the fold. Version 0.1.0; the maker reports checking it in the simulator and documents Safari's limits.

  • UIKit
  • 网页

布局 · 界面组件

Bruno Cesar de Marqui de Andrade's drop-in fix for Google's AdMob on the open Duo, where full-screen ads freeze, the timer stalls and the close button never appears. One Swift file, with a write-up of what goes wrong.

  • UIKit
  • SwiftUI

界面组件

库

iOS 27 Duo Kit

RenoCryptGitHubApache-2.0

RenoCrypt's web kit draws an iPhone Duo in 3D that folds through every angle, with the Duo's side bars, sheets and poses in HTML and Liquid Glass in WebGL, as a template for app landing pages and concept mockups. The screens need a Chrome flag.

  • 网页

样机 · 动画

库

iphone_duo_adapt

Guruprasath JGitHubMIT

Guruprasath J's Flutter package adds side rails and list/detail layouts that follow the fold, plus audits and tests. Its preview sizes and safe areas are estimates.

flutter pub add iphone_duo_adapt
  • Flutter

布局 · 铰链 · 测试

库

iphone_duo_ui_pro

szymdzieGitHubMIT

Flutter widgets fed by a native bridge: the fold as a DisplayFeature, reserved regions, the vertical bar's edge, two-pane layouts and grids lined up with the fold. A companion package uses the system's Liquid Glass bars.

flutter pub add iphone_duo_ui_pro
  • Flutter

布局 · 界面组件

库

Liquid Prism

Rehmat Singh GillGitHubBSD-3-Clause AND MIT

Rehmat Singh Gill's Flutter controls move tabs and actions into the Duo's side rail and let layouts avoid the fold, with a collapsible sidebar and layout tests.

  • Flutter

布局 · 界面组件

库

LNPopupController

Léo NatanGitHubMIT

The pop-up bar and full-screen player of Apple Music and Podcasts, for any app. It supports the Duo from 4.5.12 when built with the iOS 27.1 SDK; LNPopupUI brings it to SwiftUI.

.package(url: "https://github.com/LeoNatan/LNPopupController.git", from: "4.0.0")
  • UIKit
  • SwiftUI

界面组件 · 动画

在创意墙上查看

库

MagazineLayout

AirbnbGitHubApache-2.0

Airbnb's UIKit grid and list layout, with a fix for cells that kept the wrong width when the closed Duo was rotated. The fix is merged but may not be in a release yet.

库

nitro_fold_duo

Shreeman Arjun SahuGitHubMIT

Shreeman Arjun Sahu's Flutter plugin keeps panes and dialogs off the Duo's fold and adds controls down the side, drawn as native glass buttons. It needs Xcode 27.1, and its tests of the native buttons are skipped for now.

  • Flutter

布局 · 界面组件 · 铰链

库示例代码

Nova.Avalonia.Foldable

Javier SuárezGitHubMIT

Javier Suárez's Avalonia library places two panes on either side of the Duo's fold and keeps the hidden pane's state, with a fold simulator for the desktop. The iOS bindings are temporary, there is no NuGet package yet and camera cutouts aren't handled.

  • 不限技术栈

布局 · 铰链 · 测试

Kiryl Ziusko's keyboard library has a fix for text fields jumping when an open Duo rotates with the keyboard hidden. The fix is merged but not released yet; version 1.22.7 doesn't have it.

  • React Native

布局 · 界面组件

Software Mansion's navigation library for React Native stops content slipping under headers on the iPhone Duo and copes with header heights that change as the phone folds. The fixes shipped in version 4.30.0.

  • React Native

布局 · 界面组件

库

react-3d-mockups

Ye Joo ParkGitHubMIT

A React library for closed, open and partly folded Duo mockups around live web content. Version 0.2.0 draws the phone in 3D; partly folded, the screen content mounts twice. It's for presenting in a browser and doesn't run iOS.

  • 网页

样机 · 动画

库

react-mockframe

Mohammed BananiGitHubMIT

Mohammed Banani's React components put a screenshot or a web page in a Duo frame, closed, half-open or flat, and can animate the fold. They're mock-ups for the browser, not a way to test an iOS app.

  • 网页

样机 · 动画

Sambulo Senda's React Native library gives two panes around the hinge when the Duo is open and one on the cover when closed, using Apple's own layout engine, plus a hook for the live hinge angle. Other platforms show the main pane.

yarn add react-native-adaptive-layout
  • React Native

布局 · 铰链

A React Native and Expo module that brings the Duo's native pieces to JavaScript: two-pane layouts, the side toolbar, hinge angle, fold and camera areas, and the inner and outer cameras. Android foldables and older iPhones get fallbacks.

npm install @cawrestler/react-native-duo
  • React Native

布局 · 界面组件 · 铰链

库智能体技能

react-native-duo (garrettmac)

garrettmacGitHubMIT

A React Native and Expo package for the Duo, Android foldables and iPad: bars on the side, panes and sheets that follow the pose, the fold and cameras kept clear, and test poses. One command also writes its rules into Claude Code, Codex and Cursor.

npx expo install @garrettmacmac/react-native-duo
  • React Native

布局 · 界面组件 · 测试

库

react-native-duo-layout

ehsanexeGitHubMIT

ehsanexe's React Native helpers switch layouts as the Duo opens and put tappable controls beside its status area. They go by window size and estimated safe areas, not by the hinge.

npm install react-native-duo-layout react-native-safe-area-context
  • React Native

布局 · 界面组件

Size class, safe insets and fold geometry for React Native on iOS and Android, through Nitro modules. The README checks it in all six Duo poses in the simulator.

yarn add react-native-nitro-hinge react-native-nitro-modules
  • React Native

布局 · 铰链

在创意墙上查看

库

Runes

Michael LongGitHubMIT

Michael Long's SwiftUI helper reports the usable space on each side of the iPhone Duo's fold. It also carries a temporary fix for a Split View spacing bug on the Duo.

  • SwiftUI

布局

库

StreamChat SwiftUI

StreamGitHubProprietary

Stream's SwiftUI chat components put the conversation beside the list and keep reactions on the message's side of the fold. Duo support came in 5.12.0. They need Stream's service and come under a proprietary license.

  • SwiftUI

布局 · 界面组件

库

SuperModal

Danny BeharGitHub

Danny Behar's SwiftUI modals stay beside the Duo's fold and can move above the keyboard when half-folded. Content too big for the space may still not fit. Its tests use simulated layouts; there's no demo on a Duo yet.

  • SwiftUI
  • UIKit

布局 · 界面组件

Swapnanil Dhol's SwiftUI onboarding kit offers one column or two panes and moves a readable column clear of the fold when it fits. It's part of the unreleased version 4, with no license file.

  • SwiftUI

布局 · 界面组件

库

TGCardViewController

SkedGoGitHubApache-2.0

SkedGo's map-card library moves card actions into the Duo's side bar and keeps content clear of it. Version 2.6.0 adds system sheets that adapt as the space changes.

  • UIKit
  • SwiftUI

布局 · 界面组件

zhengzeqin's Flutter plugin tells your app where the Duo's camera cutouts are on the display in use, so controls of your own can keep clear, and updates when the window or app changes. It doesn't report the crease or move widgets for you.

  • Flutter

布局 · 界面组件

库

twin_screen

MuhammadrasulGitHubMIT

Muhammadrasul's Flutter library splits panes and keeps dialogs off the fold. Its Duo bridge is a preview: the maker has checked the closed cover in Apple's simulator, but not the open or half-open phone.

flutter pub add twin_screen
  • Flutter

布局 · 铰链 · 测试

库

window_placement

JanMichaelPeterGitHubMIT

Flutter helpers that find where an app sits in Split View and fit bars beside the Duo's status icons. The new bar placement needs iOS 27.1; older iOS versions and Android return nothing.

  • Flutter

布局 · 界面组件

William Weng's small UIKit helper coordinates the Duo's switch between narrow and wide layouts with rotation animations. It watches layout changes, not the hinge angle.

  • UIKit

布局 · 动画

库

ZLPhotoBrowser

longitachi and contributorsGitHubApache-2.0

longitachi's Swift photo picker gets iPhone Duo layout fixes in version 6.0.1: the preview controls allow for unequal margins on each side, with extra handling for Split View.

  • UIKit
  • SwiftUI

布局 · 界面组件

实用工具

用来折叠模拟器、检查布局和制作样机的工具。

实用工具智能体技能编辑精选

hinge

Artem NovichkovGitHubMIT

Sets the Duo simulator's hinge angle from the command line, which simctl can't: hinge 120, or a sweep from open to closed over two seconds. It also ships as an agent skill, so Claude Code or Codex can fold the simulator while testing.

brew install artemnovichkov/tap/hinge
  • 不限技术栈

铰链 · 测试

实用工具MCP 服务器

agent-device

CallstackGitHubMIT

Callstack's CLI and MCP server folds the Duo simulator and captures its screens. Since version 0.21.28 it marks a fold as unverified when no hinge readings come back. Needs a compatible Xcode.

  • 不限技术栈

测试 · 铰链

实用工具智能体技能

App Store Connect CLI

Rudrank RiyamGitHubMIT

Rudrank Riyam's command-line tool for App Store Connect, with agent skills. Since 5.12.0 it uploads iPhone Duo screenshots and app previews, and 5.13.0 checks Duo previews before upload.

brew install asc
  • 不限技术栈

样机

实用工具

App Store 物料规范

GiantYcGitHub

GiantYc's web page, in Chinese, lists the images and videos an iPhone Duo app needs for the App Store, with sizes to copy, a portrait and landscape switch, and CSV export. Some of its priorities are written for the author's own team.

  • 网页

样机

实用工具

Appetite UI

Bohuslav Poláčekappetiteui.com

Bohuslav Poláček's paid Figma kit: eight app designs laid out across the Duo's cover and open display, with shared styles and reusable side controls.

  • 不限技术栈

布局 · 界面组件 · 样机

实用工具

Appium XCUITest Driver

Appium contributorsGitHubApache-2.0

Appium's iOS test driver can fold the iPhone Duo simulator to any angle and pick which display your screenshots and taps go to. It needs driver 12.17.0 or later and Xcode 27.1; the maintainers say they've tested it in the simulator only.

  • 不限技术栈

测试 · 铰链

实用工具智能体技能

appshot

Maksim ZhelezniakovGitHubMIT

Maksim Zhelezniakov's command-line tool for making framed App Store screenshots from a config file. Add Apple's iPhone Duo bezel images and it measures them into a device frame. It comes with an agent skill and a fastlane plugin.

brew install jems19s/tap/appshot
  • 不限技术栈

样机

实用工具MCP 服务器智能体技能

appShots

Tillo BeffaGitHubGPL-3.0-only

Tillo Beffa's screenshot tool makes sets for both Duo displays from a web editor, AI assistants or screen capture on a Mac. The Duo sets still have to be uploaded to the App Store by hand.

  • 不限技术栈

样机

实用工具MCP 服务器

AppShots: App Screenshot Maker

Dajiale (Yongliang Wang)apps.apple.com

Dajiale's Mac screenshot editor. Version 3.0.0 adds canvases for the Duo's cover and inner display, reuses layouts across sizes and lets AI assistants render them. Some features need Pro.

  • 不限技术栈

样机

实用工具

ascelerate

Kerem ErkanGitHubMIT

Kerem Erkan's command-line tool for App Store Connect. It uploads iPhone Duo screenshots, and its screenshot UI tests can fold and unfold the Duo simulator mid-test, framing closed and open shots each with the right bezel.

brew install keremerkan/tap/ascelerate
  • 不限技术栈

样机 · 测试

实用工具

Baguette

tddworksGitHubApache-2.0

Headless simulator control: taps, gestures, screenshots and 60 fps streams. baguette hinge folds the Duo to a pose or an angle, taps and screenshots follow the lit display, and its web page draws the Duo in 3D, posed live.

brew install baguette
  • 不限技术栈

测试 · 铰链

实用工具

Bezly

Samuel Rodríguez Diezapps.apple.com

Samuel Rodríguez Diez's mockup app puts your screenshots on an iPhone Duo in version 3.0: pick a pose, set the fold, and give the cover and the inner display their own artwork. Free exports carry a watermark; video and 4K need Pro.

  • 不限技术栈

样机 · 动画

实用工具MCP 服务器

ButterKit

Zach Spitulskibutterkit.app

Zach Spitulski's Mac app for App Store screenshots has iPhone Duo artboards and a 3D hinge you can set to any angle, plus screen capture, localization and automation by coding agents.

  • 不限技术栈

样机

实用工具

Crease

LukeGitHubMIT

Paste any public web address and see the page in the Duo's closed cover and open inner screen side by side, with the crease drawn as a band down the middle. A quick check for responsive sites, live at crease.hermz.xyz.

  • 网页

测试 · 样机

实用工具

Device Hub Pro

Emre Özturk and contributorsGitHubMIT

A Mac utility that folds the Duo simulator and shows its live screens on a 3D model you can turn. Version 1.1.3 needs Apple silicon and Xcode 27.1; it uses private Apple interfaces that may break with updates.

  • 不限技术栈

铰链 · 测试

实用工具

devknobs

Mert DuzgunGitHubMIT (code; bundled Apple artwork excluded)

Mert Duzgun's browser panel previews pages at the Duo's closed and open sizes, with folding frames and adjustable text and motion. Version 0.2.0 is merged in the source. It previews in the browser and doesn't emulate iOS.

  • 网页

测试 · 样机

实用工具库

Duo

Doan LabsGitHubMIT

Doan Labs' experimental simulator for the web and desktop comes with a kit for building web apps that react to the fold. Its packages for developers preview your web pages locally; they don't test iOS apps.

  • 网页

布局 · 样机

在创意墙上查看

实用工具

Duo Mock

Zihan HuangGitHub

A browser studio around a 3D Duo you can pose, rotate and fold to any angle. Put your designs on either display and export a transparent PNG; images never leave the browser.

  • 不限技术栈

样机

实用工具

Duo PiP Test

Zach ColemanGitHub

Zach Coleman's test app and notes for trying Picture in Picture on the iPhone Duo simulator, where it is switched off, by turning the feature on when the simulator boots.

  • SwiftUI

测试

实用工具

Duo Preview

Ar-rangeduo.ar-range.app

Ar-range's free browser tool keeps a website loaded while you switch between the iPhone Duo's display sizes and rotate it. The sizes are estimates and the page runs in your own browser's engine, so check the real thing before you ship.

  • 网页

布局 · 测试

实用工具

Duo Preview

Pinnacliduo-preview.pinnacli.com

Pinnacli's Duo Preview shows public websites at estimated cover and open-display sizes in a remote Chromium, with rotation and narrower windows. The fold guides are drawn on top; it doesn't emulate Safari or native iOS.

  • 网页

布局 · 测试 · 样机

实用工具

Duo Studio

Lizhuo Huangiduo.clothpath.comMIT

A free web tool that puts your screenshots or a live website on a 3D Duo in six poses and exports PNG mockups or MP4, WebM and GIF folding animations. Screenshots stay in your browser; the code is on GitHub.

  • 不限技术栈

样机 · 动画

在创意墙上查看

实用工具

duo-fold-control

Mustafa DurGitHubMIT

Mustafa Dur's small Mac tool that folds the Duo simulator from the command line, closed, half-open, flat or any angle, plus a bridge so an Xcode UI test can fold and unfold the phone mid-test and take a screenshot of each display.

clang -fobjc-arc -framework Foundation -o tools/duo-hinge tools/duo-hinge.m
  • SwiftUI
  • UIKit

铰链 · 测试

实用工具智能体技能

duo-kit

Metehan YildirimGitHubMIT

Metehan Yildirim's linter reads Swift code and flags layouts that break on the Duo's two displays and the fold, like fixed screen sizes and hand-built toolbars. Runs on its own or as a GitHub Action, and ships the same rules as an agent skill.

uses: klavyeesir/duo-kit@v0.3.0
  • SwiftUI
  • UIKit

布局 · 测试

实用工具智能体技能

duoctl

Karolina SamorekGitHubMIT

Karolina Samorek's command-line tool folds, rotates and taps the Duo simulator, inner screen included, which Xcode's own tools can't reach, and screenshots whichever screen is lit. Built for scripts, CI and coding agents, with a skill.

brew install skarol/tap/duoctl
  • 不限技术栈

测试 · 铰链

实用工具

DuoReady

ryuamarinesGitHub

A GitHub Action that reads Swift source before a Duo release and points at code worth a second look: fixed screen sizes, assumed even safe areas, orientation checks. Code stays on the runner. A prompt for review, not a pass mark.

uses: ryuamarines/duoready-action@v1
  • SwiftUI
  • UIKit

测试

实用工具

DuoShot

SpocskGitHub

Spocsk's web tool prepares App Store screenshots for both Duo displays: outer, inner or a mix of the two, up to ten per language. The code has no license.

  • 网页

样机

实用工具

fastlane

The fastlane authorsGitHubMIT

fastlane can now upload screenshots for both Duo displays. The change is merged but not released yet; version 2.241.0 doesn't have it.

  • 不限技术栈

样机

实用工具

Fold Preview

Dashi AI LabGitHubMIT

A Three.js study of the Duo's fold with its progressive blur. Upload your own picture for both displays, then drag, scrub or play the fold. Static files, no build step.

  • 网页

动画 · 样机

实用工具

foldctl

Tatsuzo ArakiGitHubMIT

Tatsuzo Araki's command-line tool sets the Duo simulator's fold angle and orientation, then waits for the simulator to report the change. It uses private Xcode interfaces that may break with updates.

brew install tatsuz0u/tap/foldctl
  • 不限技术栈

铰链 · 测试

实用工具

FoldLab

JongMin KimGitHub

JongMin Kim's local web debugger shows a site on the Duo and other foldables closed, open, half-folded and in Split View, using a real browser engine, and marks elements that land on the fold, hinge, camera or system bars. README in Korean.

  • 网页

测试 · 布局

实用工具

FoldLint

Divya RaviGitHubMIT

Divya Ravi's Swift checker flags 15 kinds of Duo migration problem, from side-bar buttons to camera handling, with fixes and reports. It reads source code, so its readiness score can't tell how the app behaves when folded.

  • SwiftUI
  • UIKit

测试 · 布局 · 界面组件

实用工具

FoldReady

Guillaume FlambardGitHubMIT

Guillaume Flambard's scanner reads your Swift code on your own machine and flags layouts and state that might not survive the Duo, with reports and a check for your build. Its scores are rules of thumb, not proof that an app works on the Duo.

  • SwiftUI
  • UIKit

布局 · 测试

实用工具

Framedevice

Anders Johanssonidrewn.github.io

An iPhone app that reads the Duo's posture and hinge angle on the closed cover, and frames a screenshot in a closed or open Duo.

  • 不限技术栈

铰链 · 样机

在创意墙上查看

实用工具

Frames

Federico ViticciGitHubMIT

Frames screenshots and screen recordings in Apple's own bezels. From 1.5.0 it frames both Duo displays, portrait and landscape, in Night Sky and Star White, at the sizes the Duo simulator captures.

git clone https://github.com/viticci/frames-cli.git
  • 不限技术栈

样机

实用工具

idb

Meta Platforms and contributorsGitHubMIT

Meta's iOS automation tool sets the iPhone Duo simulator's hinge and follows whichever display is active for recordings, screenshots and input. Its docs say it was tested with Xcode 27.1; it relies on Apple's private frameworks.

  • 不限技术栈

测试 · 铰链

实用工具

ios-sim-stream-share

Danil-ZosimGitHubMIT

Streams a running iOS simulator to a browser link you can share, and lets the viewer tap, swipe and type. For the Duo it serves the cover and the inner panel as separate pages, each with its own picture and touches.

  • 不限技术栈

测试

Chrome presets for checking webpages at the sizes of the Duo's cover and inner display, with an installer that backs up your preferences. They don't emulate Safari, the hinge or safe areas.

  • 网页

测试 · 布局

实用工具库

iPhone Duo Frame Simulator

AppolyGitHubMIT

Reframes your running app to a Duo display on any iPhone, iPad or simulator, with its size, safe areas, size classes and corner shape, through the same resize path a fold takes. Compiles to nothing in release builds.

.package(url: "https://github.com/appoly/iPhoneDuoFrameSimulator", from: "1.0.0")
  • UIKit
  • SwiftUI

测试 · 布局

实用工具库

iPhone Duo Prep

Nasib Ali AnsariGitHubMIT

Nasib Ali Ansari's toolkit: a command-line audit and Xcode build plugin that flag code likely to break on the Duo, Swift helpers for the hinge and fold, test size presets, templates, and thin Flutter and React Native bridges.

  • SwiftUI
  • UIKit
  • Flutter
  • React Native

布局 · 测试 · 铰链

M-R21's web preview and checker looks for overflowing content, small controls and anything too close to the fold. The screen sizes and hinge bands it uses are the author's estimates.

  • 网页

布局 · 测试

实用工具

iphone-duo-check

TEHSEENULLAH786GitHubMIT

A command-line check that loads a web page in WebKit closed, opened from closed, and opened fresh, then points out a layout that doesn't change when the phone opens, buttons on the crease and tap targets that are too small.

npx iphone-duo-check https://example.com
  • 网页

测试 · 布局

实用工具

Kesef: Mockups & Screenshots

Ilan Elie Uzanapps.apple.com

Ilan Elie Uzan's mockup editor. Version 1.4.0 adds Duo cover and inner frames and a 3D hinge you can move, for animated promo videos, its release notes say.

  • 不限技术栈

样机

实用工具库

LayoutScope

Daniel MunozGitHubMIT

A SwiftUI debug overlay that draws safe areas, reserved regions, size classes and the hinge state over your own app. Both modifiers do nothing in release builds.

.package(url: "https://github.com/danmunoz/LayoutScope.git", from: "1.2.0")
  • SwiftUI

测试 · 布局

在创意墙上查看

实用工具智能体技能

mav

DavidGitHubMIT

David's command-line tool for coding agents that test iOS apps. It sets the Duo simulator's hinge to closed, book, flat or any angle, then sends taps to the inner panel and captures it instead of a black screen. Comes with a skill.

brew install bitomule/tap/mav
  • 不限技术栈

测试 · 铰链

实用工具

Mobilewright

Mobile NextGitHubApache-2.0

Mobile Next's test framework for iOS and Android apps, written like Playwright tests. One call sets the hinge on foldable iOS simulators and Android emulators: folded, half-open, open or any angle, so a test can run in every pose.

npm install mobilewright @mobilewright/test
  • 不限技术栈

测试 · 铰链

实用工具智能体技能

Offsider

Michael PalmesGitHubMIT

Michael Palmes's command-line tool drives the iOS Simulator and Android emulator for coding agents. It folds the Duo simulator open, closed or to a set hinge angle, and reads and screenshots the outer and inner screens one at a time. Comes with a skill.

brew install michael-palmes/tap/offsider
  • 不限技术栈

测试 · 铰链

实用工具

Plurigent iPhone Duo Simulator

Plurigentplurigent.com

Plurigent's browser preview puts Figma prototypes and web pages in Duo layouts and can send simulated layout sizes to your page. Ordinary embedded pages stay flat, and native iOS isn't emulated.

  • 网页

布局 · 测试 · 样机

实用工具

RocketSim

Antoine van der Leerocketsim.app

Antoine van der Lee's Mac companion for the simulator sets the iPhone Duo's hinge and records both displays, with a 3D fold pose for the finished video. Its editor trims and restyles recordings. Free to download, with paid upgrades.

  • 不限技术栈

测试 · 样机 · 铰链

实用工具

safearea.info

Dongkyu Kimsafearea.info

Each iPhone's safe areas and reserved regions as measured in the simulator, drawn to scale. For the Duo it covers the closed cover, the open display and the partly folded state, folding in 3D.

  • 不限技术栈

布局

在创意墙上查看

实用工具

Screenpane

Sambulo Sendascreenpane.com

Sambulo Senda's Mac app that turns simulator captures into App Store screenshots, translates and uploads them, and exports all four iPhone Duo sizes from one design, each with its own layout. Paid, with a free trial.

  • 不限技术栈

样机

实用工具

Screenshot Studio

Sarun Wongpatcharapakornapps.apple.com

Sarun Wongpatcharapakorn's Screenshot Studio makes framed App Store screenshots. Version 1.34.0 designs, exports and uploads them for the App Store's iPhone Duo slot, its release notes say.

  • 不限技术栈

样机

实用工具智能体技能

serve-sim

Evan BaconGitHubApache-2.0

Serves a simulator in the browser. For the Duo it adds Folded, Semi-folded and Fully open buttons and a hinge slider, follows the lit display, and serve-sim fold sets the angle from the command line. An agent skill comes with it.

npx serve-sim
  • 不限技术栈

测试 · 铰链

实用工具智能体技能

ShipLayer

MissingLayer BVGitHubMIT

MissingLayer's release helper checks Duo screenshots, prepares store images and uploads them to a Duo slot that its docs mark as undocumented.

  • 不限技术栈

测试 · 样机

实用工具

Unfold Kit

Tasuku HojoGitHubMIT

Tasuku Hojo's free browser tools: Asset Press exports App Store headers and Duo screenshots at Apple's sizes as PNGs without alpha, and Fold Planner draws suggested layouts for six Duo poses by app type, with a checklist to copy as Markdown.

  • 不限技术栈

样机 · 布局

实用工具

Volt

Volt ADKGitHubMIT

Volt's editor streams the Duo simulator's two displays into a folding 3D viewer with touch, keyboard and hinge controls, using parts of Expo Device Hub and the T3 Code viewer. A macOS beta you build from source.

  • 不限技术栈

测试 · 铰链

实用工具智能体技能

zdymak

Lonli-LokliGitHubMIT

Lonli-Lokli's screenshot utility documents capturing the Duo closed, open and half-folded, then framing the shots for the App Store, including 3D half-open mockups.

npm i -g zdymak
  • 不限技术栈

样机 · 测试

示例代码

可以阅读和运行的开源 App,从每个 API 一个演示,到由铰链驱动的动画。

示例代码编辑精选

iPhone Duo by Examples

Artem NovichkovGitHubMIT

One small SwiftUI demo per Duo API in iOS 27.1, each with its code: the live hinge angle, reserved regions, ArrangementView, vertical toolbars, a tabletop layout, even grid columns and Split View.

  • SwiftUI

布局 · 界面组件 · 铰链

在创意墙上查看

示例代码

Accorduon

Artem NovichkovGitHubMIT

A playable accordion where the hinge is the bellows: onHingeChange turns the hinge's speed into air pressure. Short, readable code for hinge-driven interaction and sound.

  • SwiftUI

铰链 · 动画

在创意墙上查看

示例代码

AdaptiveDuoLab

Somendra YadavGitHubApache-2.0

A demo app from a Swift Bengaluru meetup talk. A shared workspace of records reflows from list to grid as the window changes, with eight hands-on lab screens on navigation, toolbars, keeping clear of the fold and keeping your place, in SwiftUI and UIKit.

  • SwiftUI
  • UIKit

布局 · 界面组件

示例代码

Atlas

VibeViewGitHubMIT

A small Expo travel app laid out for the Duo: two panes when open, stacked when narrow, and the cover on its own. Made to be copied from.

  • React Native

布局

示例代码

Conference App Template

Kadi KramanGitHubMIT

Expo's conference template shows session details beside the schedule in wide windows, keeps clear of the Duo's side bar, and refreshes tabs that go missing.

  • React Native

布局 · 界面组件

示例代码

Curated Vault

codexnoiseGitHub

codexnoise's Flutter sample, a CD catalog that switches between a carousel and two panes on either side of the fold, keeping your selection and favorites. The author has tried it on the Duo simulator. The code has no license.

  • Flutter

布局 · 界面组件 · 测试

The code behind Ihor Malovanyi's book: DuoLab in SwiftUI and UIKit, DuoProbe (the tool behind the book's measurements) and Postcards, a showcase you can fold. With a field note on what the simulator reports.

  • SwiftUI
  • UIKit

布局 · 铰链

在创意墙上查看

示例代码

Dúo Calculator

Dr Alex MitreGitHubMIT

Dr Alex Mitre's SwiftUI calculator sample switches from basic to scientific keys and keeps the buttons off the Duo's fold. It has layout tests; the maker has checked it by eye only on the open simulator.

  • SwiftUI

布局 · 界面组件

示例代码

Duo Test

Tarun YadgirkarGitHub

One screen per Duo API, and a script that folds the simulator through a set of angles, takes screenshots, logs every event and lays the results out on a contact sheet.

  • SwiftUI

测试 · 铰链

示例代码

duo-lab

Juan Carlos Ramón CondezoGitHub

A Flutter probe app run through 21 Duo simulator setups, with screenshots and full metrics for each. The finding: Flutter apps run fine but cannot see the fold, because displayFeatures stays empty on iOS.

  • Flutter

测试 · 布局

在创意墙上查看

示例代码

DuoBird

Artem NovichkovGitHubMIT

Flappy Bird flapped by snapping the hinge open. Shows how to turn a stream of hinge angles into separate gestures, drawn with Canvas.

  • SwiftUI

铰链 · 动画

在创意墙上查看

示例代码

DuoCanvas

tade-devGitHubMIT

tade-dev's SwiftUI canvas sample: the inspector sits beside the canvas when the screen is wide and moves into a sheet when it's narrow. The README says the author hasn't compiled or run the Duo app yet.

  • SwiftUI

布局 · 界面组件

示例代码

DuoDesignLab

Tomohiro TakahashiGitHub

A SwiftUI app that puts a good layout beside a bad one: a grid fixed to phone width against an adaptive one, toolbars that do or don't move to the side, and a form that loses your typing when you fold. Notes in Japanese.

  • SwiftUI

布局 · 界面组件

在创意墙上查看

示例代码

DuoKit

独书先生GitHubMIT

Twelve runnable SwiftUI examples for adaptive layout, navigation, safe areas, the fold, presentations and multitasking. Built with Xcode 26, so the Duo-only parts run on a clearly labeled simulated Duo.

示例代码

DuoKitShowcase

TBO DigitalGitHubMIT

A SwiftUI sandbox to fold, unfold and turn in front of people: the standard components on every screen, next to what iOS 27.1 adds for the Duo. No dependencies.

  • SwiftUI

界面组件

示例代码

DuoLab

SeongHo HongGitHub

SeongHo Hong's SwiftUI experiments try out ways to place popups, centered forms and video controls around the Duo's fold, with the code and notes on the measurements.

  • SwiftUI

布局 · 界面组件 · 铰链

示例代码

DuoPlayer

mukulsharma211GitHub

A SwiftUI sample by mukulsharma211 whose video keeps playing as the iPhone Duo closes, opens, turns and half-folds, with the player above the crease and the list below when half-folded.

  • SwiftUI

布局 · 铰链

示例代码

DuoProbe

Sven-Eric MolzahnGitHubMIT

Lays out the same two panes ten ways and prints what each measured. A launch argument picks the layout, so you can set a pose in Device Hub and take readings without tapping.

  • SwiftUI

布局 · 测试

在创意墙上查看

示例代码

Expo UI Examples

Nathan SchroederGitHubMIT

Nathan Schroeder's Expo sample reads the Duo's fold angle, keeps the session's highs and lows, and rearranges two panels. It needs Xcode and iOS 27.1, and its pull request says no tests were run.

  • React Native

铰链 · 布局

在创意墙上查看

示例代码

iPhone Duo fold study

Justin LevineGitHubMIT

A React component of a folding Duo: drag to fold, layered screen content and progressive blur, built with React 19, Three.js and Motion on Apple's 3D model.

  • 网页

动画 · 样机

示例代码

iPhone Duo Sample

Marcel PiešťanskýGitHubMIT

Marcel Piešťanský's UIKit sample reads the Duo's hinge angle, highlights the space set aside for the fold and the cameras, and places two panels on either side of the fold.

  • UIKit

布局 · 铰链 · 界面组件

示例代码

iPhone Duo Tests

Rodrigo PortilloGitHubMPL-2.0

A SwiftUI playground with reserved regions, ArrangementView and a WKWebView bridge that tells a web page about the fold, with a video walkthrough in Portuguese.

  • SwiftUI
  • 网页

布局 · 铰链

示例代码

iPhone-Duo-R-D

Dev MauryaGitHub

Dev Maurya's SwiftUI snippets mark the free strips around the Duo's fold and camera, and try out controls of your own down the side. Some of the helper types they use are missing from the repository.

  • SwiftUI

布局 · 界面组件

示例代码

Pioneers (NativeScript)

Nathan WalkerGitHub

A NativeScript and Angular list-and-detail app that calls the iOS 27.1 fold APIs directly: the hinge as Angular signals, UIArrangementViewController splitting list and detail, reserved regions and vertical bars.

  • NativeScript

布局 · 铰链 · 界面组件

在创意墙上查看

示例代码

Sand Valley

Artem NovichkovGitHubMIT

Sand that slides into the fold: onHingeChange sets the slope, the division region marks the bottom of the valley, and a SwiftUI Metal shader draws the grains.

  • SwiftUI

动画 · 铰链

在创意墙上查看

示例代码

sdk58-expo-ui-duo-repro

Rami MaaloufGitHubMIT

Rami Maalouf's Expo UI 58.0.18 sample uses two panels and a fold counter to compare prebuilt and source-built packages on the Duo, and includes a workaround. The maker reports results from the simulator.

  • React Native

测试 · 布局 · 铰链

示例代码

WaterfallLayout

zhoujianpingGitHub

zhoujianping's UIKit grid sample changes the number of columns and centers the grid as the Duo folds. It's experimental: the device check and fold spacing use fixed sizes.

  • UIKit

布局 · 铰链 · 动画

先读这些

这些工具要落实的做法:App 怎样围绕折痕布局,以及怎样在模拟器里检查。

设计 · 布局阅读约 6 分钟

为 iPhone Duo 做设计

用同一个 App 布局适配 iPhone Duo 的两块屏幕。尺寸类别、宽阔的内屏画布、浮动控件,以及系统已经替你挪好的东西。

10月4日阅读指南

开发 · 布局阅读约 8 分钟

用 React Native、Flutter 和 Web 开发 iPhone Duo

从 React Native、Flutter、网页和 WebView 的角度看折叠屏:每种技术栈免费得到什么、哪些桥接库能暴露铰链和折痕,以及哪些仍然需要 Xcode。

10月26日阅读指南
常见问题

为 iPhone Duo 开发

有没有适用于 iPhone Duo 的 MCP 服务器?

Argent、Framegrove、Mobile MCP、VibeView、AppBootstrapAI、Axiom、agent-device、appShots、AppShots: App Screenshot Maker和ButterKit 以 MCP 服务器的形式运行,Claude Code、Codex、Cursor 等编程智能体可以直接调用。Argent 和 VibeView 能把 iPhone Duo 模拟器折到某个姿态,或任意铰链角度。

应该从哪个智能体技能开始?

SwiftUI 或 UIKit App,建议选一个会对照你已安装的 SDK 核对 Duo API 的技能,比如 Sven-Eric Molzahn 的 iPhone Duo adaptation,或 Navid 的 iPhone Duo Skills,后者还带有面向 Flutter、React Native 和 Capacitor App 的技能。多数技能都能装进 Claude Code、Codex、Cursor,以及任何能读取 SKILL.md 文件的智能体。

怎样用命令行折叠 iPhone Duo 模拟器?

Xcode 的 simctl 没有控制铰链的命令。Artem Novichkov 的 hinge 可以设定角度,或让角度随时间变化;serve-sim 和 Baguette 也能折叠模拟器,并把画面串流到浏览器。Argent 和 VibeView 则通过 MCP 让编程智能体做同样的事。

Flutter、React Native 和网页 App 怎么知道折痕在哪里?

靠它们自己做不到:在 iOS 上,Flutter 的 displayFeatures 是空的,网页视图也拿不到 Device Posture 和 Viewport Segments API。要靠软件包桥接原生 API:Flutter 有 duo_kit、foldable 和 iphone_duo_ui_pro,React Native 有 react-native-nitro-hinge 和 expo-foldables,Capacitor 和 Ionic App 有 Capacitor Foldable。