feat(ios): leave Split View on an iPhone Duo simulator

Merged
TH
3d ago
+172-74

Summary

Closes #4709. Run gesture swipe split-view-exit on an unfolded iPhone Duo simulator to drag the divider left and make the right-hand app fill the inner panel. The preset uses the display viewport and shares the existing Split View device checks.

Before / after

  • Base 3fd66c2b8b returns INVALID_ARGS for agent-device gesture swipe split-view-exit --json.
  • The preset runs a 700 ms timed drag from (475.5, 334.5) to (1, 334.5) on the tested Duo. The right-hand app fills the screen.

Validation

  • At 32644c8e7404137f4ea43136ee3c73c17f5bc30e on iPhone Duo, iOS 27.1, opened Settings, ran gesture swipe split-view-left, then opened Safari. Both app bindings worked in device trials. Folding closed returned split_view_unavailable with dispatched: no. The iOS runner build and XCTest selection check passed.
  • A coordinate pan bound to Safari failed the app viewport check. Opening SpringBoard directly moved Split View offscreen. A plain timed pan worked with both apps visible and display coordinates.
  • At 7b02767b66a8272cfc4e5419fc47574f3b9ef756, format, typecheck, R11 package boundaries, and 928 eager-closure and Split View tests passed. The classifier uses the existing contracts module.
  • At 4f72a4aed3f8f998de28f5ffb9f0f5d7e25daf44, the interactor and runner request fixture tests, typecheck, and macOS XCTest testEveryRunnerRequestFieldHasAProductionRequest passed. CI covers the full affected checks and platform smoke jobs.
  • At 72ca3bc2c35aee72f4b491abb3a50919de2104ef, typecheck passed. The new closed-Duo test covers display-viewport refusal before any runner call.