-2

I am working on POC in which I have to disable screenshot in ios using React-Native

  • 1
    You cannot. You can at most detect screenshot. Some libraries have done such functionality: https://github.com/blend/react-native-screenshot-detector – Raptor Aug 01 '19 at 09:46
  • Even if you disable the screenshot, you cannot prohibit taking pictures with another mobile phone. – 安Alex Aug 09 '19 at 09:52

1 Answers1

1

Unlike Android, in iOS you cannot prevent the user from taking screenshots.

But if you have really have to hide as many as possible information from screenshots, you can try requiring the user to be touching the screen to view whatever information you're displaying (Like Snapchat). This is because the system screenshot event interrupts touches.

Thanks for this comment about the idea.

whd.nsr
  • 684
  • 6
  • 12