I saw that TeamViewer allows iOS Screen Capturing by leveraging the Screen Recorder feature from the Control Center in iOS 11. As seen here:
这怎么可能?我检查了 ReplayKit,但找不到任何可以像这样连接到控制中心的功能。
您需要添加一个Broadcast Upload Extension
到您的应用程序。
(在 Xcode 中,文件 > 新目标,选择“广播上传扩展”)
安装扩展程序(与您的应用程序一起)后,用力触摸控制中心的屏幕录制图标将提供使用广播扩展程序的选项,而不是默认的(“相机胶卷”)。
目前关于 iOS 屏幕录制的文档很少。但这个 WWDC 视频在较高层面上讨论了这个问题:
https://developer.apple.com/videos/play/wwdc2017/606/ https://developer.apple.com/videos/play/wwdc2017/606/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)