我提出了一个解决方案,但我不确定我是否正朝着正确的方向前进。因此,当调用applicationDIDEnterBackground时 – 我放入了一个将由 *** 作系统捕获的叠加图像,一旦应用程序进入前景,我将删除叠加层。我不确定这是否会起作用,但我正在实现这一目标。同时,对此的任何其他想法将帮助我找出攻击此问题的最佳方式。
解决方法 你走在正确的轨道上。这是Apple推荐的方法 as noted in the iOS Application Programming Guide:总结Remove sensitive information from vIEws before moving to the background. When an application Transitions to the background,the system takes a snapshot of the application’s main window,which it then presents brIEfly when Transitioning your application back to the foreground. Before returning from your
applicationDIDEnterBackground:
method,you should hIDe or obscure passwords and other sensitive personal information that might be captured as part of the snapshot.
以上是内存溢出为你收集整理的iphone – 防止iOS在进入后台之前拍摄应用程序的屏幕截图全部内容,希望文章能够帮你解决iphone – 防止iOS在进入后台之前拍摄应用程序的屏幕截图所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)