AirPlay Mirroring iPhone to Mac OS / using UIWebView + AirPlay

江枫思渺然 提交于 2019-12-05 18:05:48

The situation has changed since this was asked.

AirServer (AirServerApp.com) and Reflection (ReflectionApp.com) both support AirPlay mirroring. Here's an article comparing them:

http://www.macstories.net/reviews/mirroring-multiple-ios-devices-to-a-mac-comparing-airserver-and-reflection/

Since your device (iPhone 4s) supports video mirroring via AirPlay, then you should be able to use AirServer to enable mirroring to your Mac.

Update: As pointed out by Marc Surman, AirServer does not support mirroring, rendering this answer incorrect. Thanks for playing.

Mirroring uses FairPlay encryption, which is why AirServer and similar applications can't do mirroring.

You CAN, however, fake this using AirplayKit: https://github.com/rothacr/AirplayKit

The iOS demo in that repo actually does a simple mirror by sending an image of your screen to the airplay device using a timer. It would probably work just fine for a demo, and should work with AirServer.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!