Platforms
iOS design
Apple HIG and current iPhone hardware, with the spec overlaid on the device.
Apple HIG rules and current iPhone hardware, with the v3 spec and chitransit-app main 82560e7 audited against them. Stop detail and Map panel rows reflect main 3a3db9c (#102). Rationale and decisions: docs/specs/ios-design.md.
Device drawings are our own SVG schematics, drawn from Apple-published numbers. Apple Design Resources are cited, not embedded. Dimensions labelled “v3” are ours.
Current iPhone device classes
Lineup as of October 2026. Points = Apple pixels ÷ 3. The app is iPhone-only (TARGETED_DEVICE_FAMILY = 1), portrait-only, iOS 17.2+, built with Xcode 26.0.
| Class | Models | Pixels (Apple) | Points @3x | Top cut-out | Dynamic Island: compact · expanded width (HIG) | Bottom |
|---|---|---|---|---|---|---|
| 6.1″ notch | iPhone 17e | 2532 × 1170 · 460 ppi | 390 × 844 | Notch, no Dynamic Island | None. Live Activities show on the Lock Screen and as banners only | Home indicator |
| 6.3″ | iPhone 17, 17 Pro, 18 Pro | 2622 × 1206 · 460 ppi | 402 × 874 | Dynamic Island | 230 pt · 371 pt (17 / 17 Pro). 18 Pro: not yet published. The HIG table stops at the 17 series. | Home indicator |
| 6.5″ | iPhone Air | 2736 × 1260 · 460 ppi | 420 × 912 | Dynamic Island | 250 pt · 408 pt | Home indicator |
| 6.9″ | iPhone 17 Pro Max, 18 Pro Max | 2868 × 1320 · 460 ppi | 440 × 956 | Dynamic Island | 250 pt · 408 pt (17 Pro Max). 18 Pro Max: not yet published. | Home indicator |
| Foldable | iPhone Duo (announced Sept 2026) | Outer 5.4″ 1398 × 2034 · 460 ppi Inner 7.6″ 1878 × 2670 · 430 ppi | Not published. Apple gives pixels only. The HIG says to rely on size classes and safe areas, with compact width on the outer display and regular width on the inner one. | Outer: corner camera that “expands into the Dynamic Island for Live Activities”. Inner: under-display camera, a reserved region only while active. | Not published | Fold is a conditional reserved region |
Every Dynamic Island presentation is 36.67 pt tall with a 44 pt corner radius. Lock Screen and expanded Live Activities are 84–160 pt tall (HIG). “Not yet published” means Apple has no figure.
To scale (1 pt = 0.36 px)
no Dynamic Island
overlay reference device below
system bars move to the side (schematic)
landscape when held open (164.6 × 117.8 mm open); fold drawn schematically
Hatched = safe-area inset. The 62 / 34 and 47 / 34 pt insets are commonly reported runtime values, not Apple-published; read safeAreaInsets at runtime. The island, home indicator and iPhone Duo outlines are approximate.
iPhone Duo HIG rules
ReservedRegion.Our app on an iPhone 17 Pro (402 × 874 pt)
App at 82560e7. Orange marks HIG boundaries (safe areas and anchors). Dashed blue marks 44 × 44 pt hit areas. Map panel anchors: tip 132 pt · half 50% · full top + 4 pt, measured in the safe area above the tab bar.
TabView with Home, Map and a Search-role tab. Settings is a toolbar item. Compliant