iPhoneMirror README

项目的 README,来自 github.com/RayrenSX/iPhoneMirror。合并为一个 markdown 文件:README.md。

iPhoneMirror icon

iPhoneMirror

Mirror and control your iPhone and iPad on Windows.
USB and AirPlay · System audio · Multiple devices · Recording and streaming

Latest stable release Latest preview release Windows build GPL-3.0-only QQ group 1050045279

Download · Quick start · Control requirements · Build · User guide · Support

English · 简体中文 · 日本語

iPhoneMirror showing USB and AirPlay mirroring, device management, and an independent preview

USB and AirPlay mirroring, device management, and an independent preview in iPhoneMirror.

iPhoneMirror is an open-source iPhone / iPad mirroring tool for Windows. Connect over USB or local-network AirPlay to bring video and system audio to your computer, then add mouse and keyboard control, independent windows, recording, or streaming as needed. Mirroring media is processed locally, with no cloud relay.

Community

Join our QQ group to share your experience, ask questions, and discuss feature ideas.

QQ group: 1050045279

Download

Windows 10 / 11 x64 · Windows ARM64 currently unsupported · .NET runtime and driver manager included

Preview includes recent features and fixes and may have issues. Stable may have an older feature set; check the release notes before choosing.

Public channel Latest published version Download
Preview v1.8.5-pre6 Setup · ZIP
Stable v1.8.3 Setup · ZIP

Public versions verified on 2026-11-26. Setup (recommended) installs the app through a wizard. For the portable ZIP, extract the entire archive and run iPhoneMirror.exe. All releases and release notes · Changelog

The local main build is the final preview before iPhoneMirror 1.8.5. v1.8.5-pre7 release notes

Packages are not commercially code-signed; Windows may show SmartScreen or unknown-publisher warnings. iOS updates may affect USB private-protocol and AirPlay compatibility. Check your downloaded version's release notes for available features.

Quick start

The steps and feature descriptions below cover the local v1.8.5-pre7 preview. Older builds may omit some of these features. The older stable release v1.8.3 does not include the setup wizard, key mapping, or integrated device management; on that version, start with the USB or AirPlay steps below. Choose the preview release if you need these newer features.

First launch: complete the setup wizard

On your first launch, follow the setup wizard to choose your preferences and connection method, complete the prompted driver checks and device binding, and save your display settings. Configure the control method you intend to use. If you skip a step, reopen the wizard from Settings to finish it later. Setup guide

After setup, use one of the connection methods below.

Connect over USB

  1. Open iPhoneMirror, connect your iPhone / iPad by USB, unlock it, and choose Trust This Computer.
  2. If the setup wizard has not prepared the drivers, open Drivers in the left sidebar and install the required drivers and Apple USB support as prompted.
  3. Select the device under Sources and click Start mirroring.

Use the included driver manager to install, repair, and remove drivers. Do not replace the Apple parent-device driver with Zadig. See the driver and connection guide if you need help.

Connect over AirPlay

  1. Connect the computer and iPhone / iPad to the same local network and leave iPhoneMirror running.
  2. Open Screen Mirroring in the phone's Control Center and select the iPhoneMirror receiver.

Change the receiver name and quality under Settings → Projection → Wireless AirPlay. Receiver missing or screen black? See wireless setup and firewall guidance.

Control methods and requirements

Mirroring and control are configured separately. A working mirror does not guarantee control support. The 17.4 requirement below applies to USB / wireless touch control, not to ordinary USB / AirPlay mirroring.

USB / wireless touch control

Bluetooth control

What you can do

Guides and help

Detailed guides are mostly in Chinese.

Your goal Start here
Learn workflows, requirements, and common fixes User guide
Configure keys, recording, streaming, or OBS Key mapping · Media output
Connect to the local API or explore technical docs HTTP API · Documentation index
Resolve connection, video, or control problems FAQ · Support guide

Build from source

Prepare a Windows 10 / 11 x64 development environment:

Run in PowerShell:

git clone https://github.com/RayrenSX/iPhoneMirror.git
cd iPhoneMirror
./build.ps1 -Configuration Release

The default script builds the native core and WPF app, packages the Python bridge, runs tests, and publishes a self-contained application. The standard entry point is outputs/iPhoneMirror/iPhoneMirror.exe; keep the entire output directory together.

For a Debug build and tests without publishing a self-contained app:

./build.ps1 -Configuration Debug -NoPublish

-NoPublish still prepares native dependencies and the bridge. Local WPF runtime tests require an interactive desktop. See the development and testing guide for switches, installer packaging, and focused validation.

Architecture

The WPF app manages devices, sessions, and UI. The C++ core processes audio and video, while a separate input path sends control back to the device. Driver changes are handled by the standalone driver manager.

flowchart LR
    Device["iPhone / iPad"] -->|USB| Core["C++ media core"]
    Device -->|AirPlay| Wireless["WirelessHost / UxPlayHost"]
    Wireless --> Core
    Core --> Output["Preview / audio / recording and streaming"]
    App["WPF app"] -->|Sessions and settings| Core
    App -->|Mouse and keyboard input| Control["BLE HID / iUsbBridge"]
    Control --> Device
Module Responsibility
src/App .NET / WPF UI, device sessions, input routing, Automation API, and updates
src/Core C++20 core, USB / QuickTime, decoding, D3D11 rendering, and WASAPI audio
src/WirelessHost / src/UxPlayHost AirPlay / DLNA reception and the UxPlay fallback adapter, connected to the core over IPC
tools/usb_touch_bridge.py / tools/iostouch Python CoreDevice control, DDI preparation, and device management, packaged as iUsbBridge.exe
src/DriverInstaller / src/VirtualCamera Standalone driver manager and Windows 11 virtual-camera components
src/Shared / src/SharedUI / sdk/python Shared logic and UI components, plus the Python SDK / MCP

See the architecture guide for protocols, process communication, and detailed data flow.

Get involved

Report bugs and suggest features through GitHub Issues, or join QQ group 1050045279 to discuss the app. Include the app version, Windows / iOS versions, connection type, and reproduction steps. Redact device identifiers and personal information from logs.

Contributions can start with documentation, translations, device compatibility reports, or a focused bug fix. Read the contribution guide before sending code. See development and testing for the build environment and validation, and architecture for the modules.

Report security vulnerabilities privately.

Support development

iPhoneMirror is free and open source. Donations are optional and support development and maintenance; all features remain free.

WeChat Pay · Alipay · PayPal: temporarily unavailable — account review pending.

Stars, feedback, and contributions are appreciated too.

Community ports

Thanks to the developers bringing iPhoneMirror to more platforms. These ports are independently maintained; see each project for features, downloads, and compatibility.

Platform Maintainer Project
Linux @furruka Repository · Port notes
HarmonyOS (PC) @zhangziqizZ / Bilibili @Fantasy_zzq Repository · Port notes

License and acknowledgments

iPhoneMirror's original code is licensed under GPL-3.0-only. Distributing modified versions requires compliance with GPLv3 source, notice, and same-license distribution obligations. Third-party components retain their own licenses; see third-party notices.

Thanks to danielpaulus/quicktime_video_hack and chotgpt/quicktime_video_hack_windows for protocol research references.

Apple, iPhone, iOS, and QuickTime are trademarks of Apple Inc. This project is not affiliated with, sponsored by, or endorsed by Apple Inc.

iPhoneMirror (RayrenSX/iPhoneMirror)

正在搜索数据库…

这是什么?iPhoneMirror 是一个本地 Windows 应用,可通过 USB 或 AirPlay 镜像 iPhone 或 iPad 的屏幕和声音,具有原生 D3D11 渲染、多设备会话、适合 OBS 采集的窗口,以及蓝牙反向控制。
它是一个程序,还是几个独立的部分?它分为四个部分:处理 Apple USB 协议、QuickTime/H.264 解码和 D3D11 渲染的 C++ 核心,负责 UI 的 WPF 主程序,负责 AirPlay 的独立无线宿主进程,以及一个单独的驱动管理器可执行文件。
怎么让它跑起来?从 Releases 页面下载 Setup 安装程序并运行(或使用便携版 ZIP 并运行 iPhoneMirror.exe),然后用 USB 连接 iPhone 并点按“信任此电脑”,或者让它连到同一 Wi-Fi 网络以使用 AirPlay。
在 Windows 上 USB 连接正常工作需要什么?需要安装 Apple 自家的 USB 支持组件,可以是 Microsoft Store 的“Apple Devices”应用,也可以是带 Apple Mobile Device Support 的桌面版 iTunes;如果缺少这些组件,应用自带的驱动管理器可以帮你获取。
安装时会有什么坑?该构建尚未进行代码签名,Windows SmartScreen 可能会将其标记为未知发布者;官方构建也只支持 Windows x64,不支持 ARM64。
它能在 Mac、Linux 或 ARM 架构的 Windows 电脑上运行吗?不能,官方发行版仅支持 Windows 10/11 x64。有社区成员正在把它原生移植到 Linux,但那个分支还没有可用的构建。
我能在电脑上控制 iPhone,而不只是查看吗?可以,通过可选的 BLE HID 鼠标/键盘模拟配合 iOS 辅助触控(AssistiveTouch)实现,无需在手机上安装任何东西或越狱,不过只支持单点指针输入。
预览会符合我 iPhone 的真实外形吗,比如灵动岛或刘海?会,它读取设备的 Apple ProductType,按设备系列应用相应的圆角和挖孔遮罩,而不是通用矩形,独立悬浮窗口也会保留这个外形。
我该选哪种 USB 镜像模式?推荐模式 A(演示),镜像全屏但状态栏的时钟/电量是伪造的;模式 B(AirPlay,实验性)使用原生分辨率但可能裁切视频应用;模式 C 是固定的 1565x1565 “辅助触控兼容”模式,清晰度更受限。
可以用它在 OBS 里直播吗?可以,为每台设备打开一个无边框独立窗口,然后用 OBS 的窗口采集源采集它;画面中没有应用 UI,无需裁剪。
作者
RayrenSX
大小
123.7 MB
星标
1.9K
时长
4个月
提交 · 90 天