本文介绍了iPhone:萤幕撷取画面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户进行屏幕截图(按住主屏幕按钮+电源)时,是否有任何方法可以在应用中调用???或可以调用哪些方法?像applicationDidBecomeActive之类的东西?谢谢...

Is there any method that calls in app when user made screenshot (hold home button + power) ???Or which methods could be called ? Like applicationDidBecomeActive or something else ? Thanks...

推荐答案

您可以使用.

然后检查一些属性,以查看它是否不是来自相机或其他来源:

Then check some properties to see if it is NOT coming from the camera or other source:

  • 格式应为PNG
  • 尺寸应与屏幕尺寸匹配
  • 也许还有一些其他元数据

这篇关于iPhone:萤幕撷取画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 20:27