mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Observe the foldable hinge with `onHingeChange` (iOS 27.1): while it is partially open and the portrait panel is hidden, the video is fitted to the upper half of the screen and every control (title bar, center controls, side sliders, bottom bar) moves to the lower half. Pinch to fill is disabled in that state. `YATTEE_FORCE_TABLETOP=1` in the launch environment forces the layout on simulators without a hinge control. The exterior display has a vertical status bar with a trailing safe area inset, which squeezed the fullscreen portrait player into the content width. The video and controls layers now span the full window width (shifted under the leading inset, like the existing vertical handling) and the controls pad their edges by the sheet's actual asymmetric horizontal insets instead of the symmetric max. Requires the iOS 27.1 SDK (Xcode 27.1).