有没有办法禁用Xamarin Forms中的屏幕截图? [英] Is there a way to disable screenshot in Xamarin Forms?

查看:212
本文介绍了有没有办法禁用Xamarin Forms中的屏幕截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的Xamarin Forms应用程序禁用屏幕截图.有办法吗? 注意:我在纯Android和iOS版本中找到了解决方案,但是我需要Xamarin解决方案.如果有某种方式可以以某种方式嵌入纯Android和iOS解决方案,我也接受. 谢谢:)

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 :)

推荐答案

没有100%有效的方法阻止用户抓取屏幕截图/记录.

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.

我将始终需要在Android和iOS中实现此特定功能.

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

请参见 this (适用于Android). 参见

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

这篇关于有没有办法禁用Xamarin Forms中的屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆