How to prevent iOS11 Built in screen recording feature just like Amazon Prime for protected DRM content?

南楼画角 提交于 2019-12-06 04:59:28

Netflix and Amazon prime iOS apps are using Apple DRM solution for apple devices - FairPlay (https://developer.apple.com/streaming/fps/). When AVPlayer plays FairPlay encrypted content it can't be captured by Screen Recording in iOS11.

You can use UIScreen.main.isCaptured to tell if the screen is being recording by screen recording or AirPlay etc...then show your black view to cover your screen

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