mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-10-02 08:04:32 +08:00
vphoned gains display.orientation, which asks SpringBoard's activeInterfaceOrientation through AXSpringBoardServer instead of capturing the screen, so the host can poll it every second. Guests that report display_orientation are polled; others stay portrait. The window's content view now holds the VM view turned to that orientation. The VM view keeps its portrait bounds, so touch mapping is unchanged: AppKit's conversion undoes the rotation. A windowed VM swaps its sides around its center and shrinks to fit the screen; full screen letterboxes the turned panel. A frame saved while sideways is turned back to portrait at launch. The Device menu gains Rotate Left (⌘←), Rotate Right (⌘→) and an Orientation submenu checked by the current orientation, enabled only while the agent reports display, so the keys otherwise reach the guest. An orientation the front app refuses is skipped by the rotate keys and reported by the submenu. New strings are translated for ja, ko, vi and zh-Hans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>