Skip to content

iOS: enter and leave Split View on a simulator (iPhone Duo) #4709

Done

Description

@SchroederNathan

Problem

An agent cannot put the app under test into Split View on an iOS simulator. Layout bugs that appear only in Split View then need a person to set it up by hand.

On the iPhone Duo simulator, the inner display supports Split View. With the app in the left half, the system draws the Duo bar on the app window's left edge. Full screen never shows that layout, so an agent cannot reproduce or verify a fix for it.

agent-device has fold for the Duo pose, plus home and app-switcher. No command enters or leaves Split View.

Checked on 0.21.36 with macOS 27.2, Node 24.22.1, Xcode 27.2 (27B52), the iOS 27.2 simulator runtime, and the iPhone-Duo device type. The release notes for 0.21.37 to 0.21.39 do not mention Split View.

What works today

The home-screen menu works, but only with coordinates:

agent-device open com.apple.springboard
agent-device longpress <icon-x> <icon-y> 1200
agent-device press <menu-item-x> <menu-item-y>

The long press on the app's icon opens a menu with Open in Split View. After the tap on that item, the app fills the left half of the inner display.

What does not work

  • The system drag gesture. agent-device gesture pan 475 666 0 -300 3000, from the bottom edge of the inner display in landscape, scrolls the app. The system multitasking gesture does not start. Binding the session to com.apple.springboard first gives the same result.
  • Selectors on SpringBoard. With the session bound to com.apple.springboard on the iPhone Duo, snapshot -i fails with COMMAND_FAILED: regular iOS snapshot node escaped its cumulative clip. press 'label="Open in Split View"' fails with the same error, so the menu item needs coordinates. iOS: every snapshot command fails with "escaped its cumulative clip" while a system alert is shown at the largest Dynamic Type size #3801 reported the same message for a system alert at the largest Dynamic Type size.
  • xcrun devicectl device appResize start. It shows the app on a separate virtual display named Resizable, not on the Duo panels. That display has no Duo bar, and agent-device screenshot keeps capturing the lit Duo panel.

Request

  1. A command to enter and leave Split View. For example, agent-device split-view <app> and agent-device split-view exit, listed in capabilities for devices that support it.
  2. Working snapshots of SpringBoard on the iPhone Duo, so that the menu route can use selectors instead of coordinates.

#3899 changed how the runner reports frames for iPad apps that do not fill the screen. A Split View command may need the same handling on iPhone Duo.

I can open a PR for the first item if this command shape works for you.

Activity

  1. added
    enhancement
    on Nov 19, 2026
  2. thymikee commented on Nov 19, 2026

    @thymikee
    Member

    Triage: the SpringBoard snapshot failure can be investigated independently of a Split View command. Could you share sanitized JSON for the regular snapshot error, including its details, and a snapshot -i --raw --json captured with the Split View menu open? The viewport and frames for the menu and its ancestors are the useful parts.

  3. added
    needs-info
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions