如何在 iOS 应用程序中阻止屏幕截图 [英] How to block a screen shot in an iOS application
问题描述
我想构建一个应用程序,在该应用程序中我想像在 Netflix 应用程序中一样阻止用户的屏幕截图,它应该像在 Netflix 中一样返回黑屏截图.现在我无法得到任何关于此的信息.
I want to build a application in which I want to block screen shot by user like in Netflix application, it should return a black screen shot as in Netflix. Right now I am unable to get anything regarding this.
我不知道 Netflix 如何处理这个问题?
I don't know how Netflix is handling this?
有什么方法可以检测块中捕获的图像并且我们可以将其遮挡?
Is there any way to detect captured image in the block and we can make it obscured?
推荐答案
Netflix(和其他提供商)使用FairPlay Streaming",这是防止捕获视频内容的原因 - 链接:https://developer.apple.com/streaming/fps/
Netflix (and other providers) use "FairPlay Streaming" which is what prevents capture of the video content - link: https://developer.apple.com/streaming/fps/
请注意,您可以截取 Netflix UI(菜单等)的屏幕截图,而不能截取流媒体内容.
Note that you can do a screen-shot of the Netflix UI (menus and such), just not the streaming content.
如果您稍微搜索一下,就会发现很多讨论都说明您不能在 iOS 中阻止屏幕截图.
If you do a little searching, you will find plenty of discussion explaining that you cannot block screen captures in iOS.
这篇关于如何在 iOS 应用程序中阻止屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!