[英]How to record screen content from other apps on iOS? Are there security concerns regarding privacy (app sandbox)?
I'm confused. 我糊涂了。 Skype announced screen sharing for iOS . Skype宣布iOS的屏幕共享 。 This means that this app can access my screen content, including what I do in other apps, and share it with my conversation partner. 这意味着此应用可以访问我的屏幕内容,包括我在其他应用中执行的操作,并与我的对话伙伴共享。
I wonder how this is possible, and whether screen sharing conflicts with the concept of the iOS app sandbox that prevents apps to access the contents of other apps... 我想知道这是如何可能的,以及屏幕共享是否与iOS 应用程序沙箱的概念冲突,该概念阻止应用程序访问其他应用程序的内容...
Starting with iOS 11, the iOS System Broadcast (aka ReplayKit 2) allows users to share all onscreen activity from the Control Center. 从iOS 11开始,iOS系统广播(又名ReplayKit 2)允许用户从控制中心共享所有屏幕上的活动。
With iOS 12, the Broadcast Picker allows users to trigger screen sharing from within an app. 使用iOS 12,广播选择器允许用户从应用程序内触发屏幕共享。
To protect the content of your app, assuming you don't want it captured in screen recording or broadcast live, you can check the value of UIScreen.isCaptured
to stop media playback or hide sensitive content. 为了保护您的应用程序的内容,假设您不希望它在屏幕录制或实时广播中捕获,您可以检查UIScreen.isCaptured
的值以停止媒体播放或隐藏敏感内容。 The same goes for AirPlay screen mirroring with UIScreen.screens.count > 1
. 使用UIScreen.screens.count > 1
AirPlay屏幕镜像也是如此。
For more information, have a look at the WWDC 2018 session Live Screen Broadcast with ReplayKit . 有关更多信息,请查看使用ReplayKit的WWDC 2018会话实时屏幕广播 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.