foldsim
Drive iOS simulators from the command line to check an app's layout in every pose — fold, unfold and rotate an iPhone Duo simulator (closed, tent, book, open, table), rotate an iPhone or iPad simulator, tap, press or swipe on any display including the Duo's inner one, capture each display, and tour all poses with screenshots and state. Use whenever you verify UI on an iPhone Duo, iPhone or iPad simulator, need a specific pose or orientation, need to touch the unfolded Duo (AXe, idb and similar tools only reach the cover), check an app's supported orientations or hinge gate, or capture what each display shows.
Pinned to revision 8a2522f23819, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/foldsim/SKILL.md
- skills/foldsim/references/pose-checks.md
- skills/foldsim/scripts/foldsim
- skills/foldsim/scripts/src/helper/Private.swift
- skills/foldsim/scripts/src/helper/main.swift
- skills/foldsim/scripts/src/host/Simulator.swift
- skills/foldsim/scripts/src/host/Tour.swift
- skills/foldsim/scripts/src/host/main.swift
Every link opens the file at its source, pinned to the revision this page describes.