Repository navigation
v0.3.2
English
New
iphone_tap_elementandiphone_wait_for(as well asiphone_batchsteps and the control page) now accept optionalkind,id, andmatch(auto,exact,contains) selectors to distinguish controls with the same label, and allow omittingtextwhenkindoridis provided (#229).iphone_screenshotand actions withthen: "screenshot"now include structured image geometry (width,height,point_width,point_height,region,coordinate_scale) alongside the image so MCP clients can map zoomed pixels back to screen points without parsing captions (#229).- Added an official layered Agent Skill (
skills/iphone-control/) with core workflows, selector guides, text/visual tips and troubleshooting references (#229).
Improvements
- iOS 27+: when an accessibility tree read stops early due to an element limit, timeout, depth limit or incomplete overlays, element tools now report that the read is incomplete and why instead of silently omitting unseen controls (#229).
iphone_tap_elementnow checks right before tapping that the target is still within screen bounds and that orientation and (on iOS 27+) the foreground app have not changed, aborting instead of tapping a different screen (#229).- Multiple open control page tabs now share an on-demand state push stream that pauses redundant polling and sleeps when no tab is active, reducing background load on the daemon (#229).
- macOS: the built-in VideoToolbox H.264 encoder now tags frames with explicit sRGB/BT.709 colorimetry so browsers render live screen colors accurately instead of decoding them as Rec.601 (#229).
中文
新功能
iphone_tap_element和iphone_wait_for(以及iphone_batch步骤和控制台)现在支持可选的kind、id和match(auto、exact、contains)复合选择器,可以精准区分同名控件;提供了kind或id时允许留空或省略text(#229)。iphone_screenshot以及带then: "screenshot"的操作现在会随截图返回结构化几何信息(width、height、point_width、point_height、region、coordinate_scale),MCP 客户端无需解析文字即可把放大截图中的像素换算回屏幕坐标(#229)。- 新增官方分层 Agent Skill(
skills/iphone-control/),提供核心操作闭环、选择器指南、输入与视觉技巧以及排错参考(#229)。
改进
- iOS 27 起:无障碍界面树因元素上限、超时、深度上限或系统浮层未读全而提前截断时,列元素和找元素工具现在会明确标出界面未读全及原因,不再静默漏掉元素(#229)。
iphone_tap_element在真正点击前会复核目标仍在屏幕范围内、屏幕方向未变化,且(iOS 27 起)前台 App 未切换;界面刚变时会中止点击,避免误点到新页面(#229)。- 控制台打开多个标签页时现在共用一路按需推送的状态流,连接期间暂停冗余轮询并在无人观看或切到后台时休眠,降低守护进程后台开销(#229)。
- macOS:内置 VideoToolbox H.264 编码器现已显式标注 sRGB/BT.709 色彩信息,避免浏览器按 Rec.601 解码导致实时画面偏色(#229)。
Binaries / 二进制: macOS macos-arm64 (11+, Apple Silicon), macos-x86_64 (11+, Intel) · Linux linux-x86_64, linux-aarch64 (glibc 2.34+) · .deb amd64, arm64 (Debian 12+, Ubuntu 22.04+)
- Script / 脚本:
curl -fsSL https://github.com/Derrors/iphone-control/releases/download/v0.3.2/install.sh | sh - Homebrew:
brew install Derrors/tap/iphone-control - Debian / Ubuntu:
sudo apt install ./iphone-control_0.3.2_amd64.deb(or / 或_arm64.deb)
Already installed? Run iphone-control update. / 已安装的运行 iphone-control update 升级。