Is there a way to disable screenshot in Xamarin Forms?

本小妞迷上赌 提交于 2019-12-24 06:31:49

问题


I want my Xamarin Forms application to disable screenshots. Is there a way to do so? Note: I found solutions in pure Android and iOS versions, but I need Xamarin solution. If there is a way to embed pure Android and iOS solution in someway, I also accept that. Thanks :)


回答1:


There is no 100% effective way to block user from taking screenshot/record.

You have some things you can do but none of them gives you the guarantee that the user didn't do that.

I will always need to implement this specific in Android and iOS.

See this and this for android. See this and this for iOs



来源:https://stackoverflow.com/questions/37960257/is-there-a-way-to-disable-screenshot-in-xamarin-forms

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