iOS检测截图? [英] iOS Detection of Screenshot?

查看:205
本文介绍了iOS检测截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

App Store上的应用 Snapchat 是一个可以让你的应用与他们分享自毁的照片。您只能查看X秒的照片。如果您在使用家庭电源键组合显示图片时尝试截取屏幕截图,它会告诉发件人您尝试截取屏幕截图。

The app Snapchat, on the App Store, is an app that lets you share pictures with a self-destruct on them. You can only view the pics for X seconds. If you attempt to take a screenshot while the picture is showing using the home-power key combo, it will tell the sender you tried to take a screenshot.

SDK可以让您检测到用户正在截取屏幕截图吗?我不知道这是可能的。

What part of the SDK lets you detect that the user is taking a screenshot? I did not know this was possible.

推荐答案

我找到了答案!!截屏会中断屏幕上的任何触摸。这就是为什么Snapchat需要持有才能看到图片。参考: http://tumblr.jeremyjohnstone.com/post/ 38503925370 / how-to-detect-screenshots-on-ios-like-snapchat

I found the answer!! Taking a screenshot interrupts any touches that are on the screen. This is why snapchat requires holding to see the picture. Reference: http://tumblr.jeremyjohnstone.com/post/38503925370/how-to-detect-screenshots-on-ios-like-snapchat

这篇关于iOS检测截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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