DuoKit: runnable SwiftUI lessons on laying out around the fold
独书先生's DuoKit is 12 open-source SwiftUI examples for adaptive layouts. They run on a regular iPhone with a simulated Duo; the fold avoidance demo switches between closed, book and flat and moves a button off the hinge.
By 独书先生 Added Original on github.com
DuoKit is in the iPhone Duo developer tools, with how to install it. See the tools
This idea belongs to 独书先生. FoldHunt shows the post through X's embed data (or the creator's own player and page) and keeps no copy of their media. Made something for the fold? Send it in.
More ideas
The whole wallThe Duo split keyboard looks crazy on the typewriter! When folded, the keyboard splits around the hinge, keeping Apple’s reserved region clear (design guidelines) Wdyt ?
Here's some more iPhone Duo interactions in 𝚛𝚎𝚊𝚌𝚝-𝚗𝚊𝚝𝚒𝚟𝚎-𝚜𝚌𝚛𝚎𝚎𝚗𝚜 ✅ Split Columns adapt to the half-folded mode ✅ Tabs move to the side also when nested inside other containers ✅ Search Field moves to the trailing edge when half-folded