/duology-features:duo-system-surfacesfrom duology-features
Covers widgets, Live Activities, StandBy, Dynamic Island, and Control Center/Lock Screen controls for iPhone Duo apps. Provides guidance on the redesigned side-column Dynamic Island, StandBy on both displays, widget families including systemExtraLargePortrait, and deep links. Notes what Apple hasn't published and what requires device testing.
Ships in duology-features. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The system draws your widgets, Live Activities and controls, not your app. On iPhone Duo it draws them in new places: a Dynamic Island in the side column of both displays, two Home Screen pages with Today View, StandBy on either display. You can't lay these places out. Your job is to give each presentation content that still reads when the system makes it narrower, taller or bigger, and to check on a device what the simulator can't show.
Load neighbours when the task needs them: duo-navigation (your app's bars, which share the side column with the island), duo-continuity (opening the right screen from a tap), duo-swiftui-27 (visibilityPriority and the other iOS 27 toolbar APIs).
Labels: measured means we ran it on the iPhone Duo simulator (iOS 27.1, 20 October 2026). Unverified means we could not confirm it. Not published means Apple has said nothing about it as of 20 October 2026. Everything else links to Apple. Runs: references/evidence.md. Sources: reference/sources.md.
| Claim | Source |
|---|---|
| The side column of both displays holds the status bar and the Dynamic Island. The island is redesigned to fit vertically there and expands to show Live Activities and alerts. | Newsroom, Tech Talk 111466, HIG |
| On the outer display the island grows out of the front camera's region, which is always present. | HIG |
| App bars share that column with Live Activities and the status bar. When room runs out, app items collapse into the overflow menu. | Tech Talk 111466 |
The system draws compact and minimal Live Activity views narrower on iPhone Duo (and on iPhone held sideways). Read isDynamicIslandLimitedInWidth (iOS 27.0). | doc |
| Where width is limited (which the doc above says includes iPhone Duo), compact and minimal views should fit a 28 pt circle. A leading view alone is fine; the system then hides the trailing one. | HIG: Live Activities (updated 13 Oct 2026) |
| Open, the display shows two Home Screen pages, with Today View (a scrolling list of widgets) on the left. The Dock and Lock Screen controls sit on the side. | Newsroom |
| Set down, iPhone Duo enters StandBy on the outer or the inner display, even when it isn't charging. | Newsroom |
iOS 27 adds the systemExtraLargePortrait widget family to iOS. | doc, WWDC26 session 277 |
| The spec page lists volume buttons, Camera Control and the side button, and no Action button. | Specs |
systemExtraLargePortrait comes to iOS 27. Whether Duo offers it is unverified.isDynamicIslandLimitedInWidth, systemExtraLargePortrait) appear only in the SDK and the symbol docs. The ActivityKit interface in the iOS 27.1 SDK has no iOS 27 symbols.Xcode 27.1's release notes list two limits of the iPhone Duo simulator: StandBy is unavailable, and most app extensions can't run or be debugged (release notes). Widgets, Live Activity views and controls are app extensions.
Measured:
Activity.request succeeded from the app, and the activity reported .active.Use Xcode Previews for each widget family and island presentation, and a real iPhone Duo for StandBy and the vertical island. Details: references/evidence.md.
systemExtraLargePortrait behind if #available(iOS 27.0, *), with content that grows by rows, not by a fixed height.Write the narrow form first. isDynamicIslandLimitedInWidth is iOS 27 only and read-only, so wrap it when the extension deploys lower. iPhone Duo always runs iOS 27.1, so the fallback runs only on other iPhones.
import SwiftUI
import WidgetKit
// requires: MinutesLeftLabel (references/live-activities.md)
/// Narrow on iPhone Duo and on iPhone held sideways.
struct MinutesLeft: View {
let minutes: Int
var body: some View {
if #available(iOS 27.0, *) {
LimitedAware(minutes: minutes)
} else {
MinutesLeftLabel(minutes: minutes, limited: false)
}
}
@available(iOS 27.0, *)
private struct LimitedAware: View {
let minutes: Int
@Environment(\.isDynamicIslandLimitedInWidth) private var isLimited
var body: some View {
MinutesLeftLabel(minutes: minutes, limited: isLimited) // the number alone when limited
}
}
}
compactTrailing and minimal. Keep compactLeading to one symbol, or drop the trailing view when no short form makes sense (HIG).ActivityConfiguration, previews, the StandBy background and the deep link: references/live-activities.md.On iPhone, StandBy shows a Live Activity as its minimal view; a tap shows the Lock Screen view scaled up 2x. Widgets in StandBy are the small family, scaled up, without their background (HIG: Live Activities, HIG: Widgets). On Duo that can happen on the 5.4-inch outer display or the 7.6-inch inner display. Apple publishes no StandBy sizes for either.
showsWidgetContainerBackground is true. Set activityBackgroundTint(_:) so StandBy fills the screen with your colour (session 223).Closed, your widget sits on the outer display's Home Screen. Open, it can sit on either Home Screen page or in Today View. Apple has not published the sizes, so lay out by family and let content grow or shrink.
import SwiftUI
import WidgetKit
// requires: ShelfProvider, ShelfWidgetView (references/widgets-and-controls.md)
struct ShelfWidget: Widget {
var body: some WidgetConfiguration {
StaticConfiguration(kind: "shelf", provider: ShelfProvider()) { entry in
ShelfWidgetView(entry: entry) // ViewThatFits: more rows where there is room
.containerBackground(.fill.tertiary, for: .widget)
.widgetURL(URL(string: "reader://shelf"))
}
.configurationDisplayName("Reading shelf")
.supportedFamilies(Self.families)
}
static var families: [WidgetFamily] {
var list: [WidgetFamily] = [.systemSmall, .systemMedium, .systemLarge, .accessoryRectangular]
if #available(iOS 27.0, *) {
list.append(.systemExtraLargePortrait) // new tall family; whether Duo offers it is unverified
}
return list
}
}
widgetURL(_:) to state that the compact and the regular layout both read, not to a screen that exists in one of them (duo-continuity). Code: references/live-activities.md.Controls (ControlWidgetButton, ControlWidgetToggle) appear in Control Center and on the Lock Screen (HIG: Controls). On Duo, Lock Screen controls sit on the side (Newsroom), and the spec page lists no Action button. Build controls as on any iPhone. Don't write help text that tells Duo owners to put one on the Action button. Example: references/widgets-and-controls.md.
Your vertical toolbar and tab bar live in the same column as the island and the status bar. A Live Activity from any app can take height from your bar while your app runs. Measured: one activity pushed the status bar down by about 84 pt closed and 94 pt open. Rank items so the important ones stay:
.visibilityPriority(.high) on the actions people use most; .low on rare ones; ToolbarOverflowMenu for actions that always belong in the menu (duo-swiftui-27, duo-navigation).#Preview(as: .systemSmall) (and one per family) per widget, and #Preview(as: .dynamicIsland(.compact), using:) plus .dynamicIsland(.minimal), .dynamicIsland(.expanded) and .content per Live Activity. Preview the limited-width form on its own at 28 pt.compactTrailing and minimal have a limited-width form behind isDynamicIslandLimitedInWidth, gated for iOS 27.showsWidgetContainerBackground is true, and sets activityBackgroundTint(_:).systemExtraLargePortrait only behind #available(iOS 27.0, *).ViewThatFits, not by fixed heights.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kimeur/duology --plugin duology-features8 skills in this plugin
/duo-app-intentsApp Intents on iPhone Duo: AppIntent, AppEntity with EntityStringQuery, OpenIntent with TargetContentProvidingIntent and onAppIntentExecution (UISceneAppIntent and AppIntentSceneDelegate in UIKit) to show the right item in the right pane or window, handlesExternalEvents to pick the window, intents that work with the phone closed (supportedModes .background, IntentDialog, ProvidesDialog, isVoiceOnly), onscreen awareness when two panes are visible (appEntityIdentifier, appEntityIdentifier(forSelectionType:), NSUserActivity), App Shortcuts (AppShortcutsProvider) and AppIntentsTesting runs on the Duo simulator in each pose. Use when an app adds Siri, Shortcuts, Spotlight or Apple Intelligence actions, when an intent opens the wrong pane or an extra window, or when an intent must work while the phone is closed./duo-cameraCamera capture on iPhone Duo, Apple's foldable. Use when an app takes photos or video, runs a video call or shows a camera preview, and must work closed (outer display), open (inner display), partly folded (book, tabletop), open and turned around (flipped) and through fold and unfold. Covers the virtual front camera (.builtInWideAngleCamera or .builtInUltraWideCamera at .front; shared features only, up to 1080p at 60 fps, no depth), the physical front cameras (.builtInOuterUltraWideCamera, .builtInInnerUltraWideCamera), choosing a camera by the way it faces with AVCaptureDeviceDirectionCoordinator (AVKit) and AVCaptureDeviceDescriptor, mirroring a rear-camera selfie, AVCaptureDevice.RotationCoordinator across displays, the square front sensor and dynamicAspectRatio, a subject preview on the outer display with CameraCaptureAccessory, tabletop hands-free capture, and Split View interruptions. The simulator has no camera: the code typechecks; capture is unverified on a device./duo-gamesBuilds games for iPhone Duo, Apple's foldable. The game fills the closed outer display, the open inner display, book pose and tabletop by changing its aspect ratio instead of letterboxing, as Apple's HIG asks; touch controls stay off the fold; and in tabletop the world sits above the fold with the controls below it, like a handheld console. Use when you build or port a SpriteKit, Metal or SwiftUI game, when a game letterboxes, restarts or loses input on fold or unfold, or when you add touch controls or game controller support. Covers SKScene .resizeFill with a camera that keeps the play area in view, one scene or renderer that survives every fold (measured), MTKView drawableSizeWillChange, a UIWindowScene display link that follows the scene to the other display, TouchZones split at the .division reserved region, GameLayout for tabletop, GCController and the simulator's own Gamepad, GCVirtualController and Touch Controller placement, orientation locks the inner display ignores, and two-player games./duo-intelligenceAdds Foundation Models to an iPhone Duo app: the on-device model (SystemLanguageModel) and the Private Cloud Compute server model (PrivateCloudComputeLanguageModel) behind one LanguageModelSession API, an AI side pane beside the content when the phone is open or in book pose (split ArrangementView) and a one-line summary when it is closed or in tabletop, streaming (streamResponse with @Generable partial snapshots) into a pane that keeps going through fold and unfold, availability checks and non-AI fallbacks, quota and error handling (LanguageModelError), tool calling, image prompts (Attachment), reasoning levels (ContextOptions) and privacy. Use when someone adds summaries, an assistant, chat, tagging or image understanding to an app that runs on iPhone Duo, or when an AI feature restarts on a fold, sits in the fold or doesn't fit the outer display./duo-mediaVideo and audio playback on iPhone Duo, Apple's foldable. Use when an app plays video or audio and must keep playing through fold, unfold and rotation, when you build a tabletop player (video above the fold, the same controls below) or a book-pose player, an up next queue, Picture in Picture, Now Playing or background audio. Covers one AVPlayer owned above the layout switch (VideoPlayer, AVPlayerViewController, AVPlayerLayer), ArrangementView with .overlay and overlayArrangementZIndex for up next (measured on the simulator in every pose), when to pick .split instead, toolbarVerticalBehavior(.disabled) for a full-screen player, AVPictureInPictureController and canStartPictureInPictureAutomaticallyFromInline, the pinned Picture in Picture video that takes half the screen when folded, MPNowPlayingSession and remote commands, the .playback audio session, and what to test in Device Hub and on a device./duo-readingBuilds reading and document screens for iPhone Duo, Apple's foldable: one page on the closed outer display, two facing pages split at the fold when the phone is open and held wide or folded like a book, and in tabletop the page above the fold with page turns below it. Use when you build an e-reader, a long-form or PDF viewer, notes beside a document, or when a reader loses its place on fold, unfold, rotation or a Dynamic Type change. Covers TextKit 1 pagination (NSLayoutManager, NSTextContainer) that keeps the place as a character offset, PagedReader with FoldGeometry and reservedRegions(kind: .division, options: .includeInactive), notes that move between the trailing region and a sheet, Dynamic Type reflow, text selection that stays inside one page (iOS 27 Text range selection, a UITextView edit menu Add to Notes action, drag), PDFKit two-up centred on the fold, and Apple Pencil, which Apple says comes later in 2026 (what it will support is unverified).Other plugins' skills for the same job