0

HI I am developing an app using Xamarin Forms PCL project. I want to restrict user from taking screenshot in my ios app . How can I prevent user from taking screenshot?

Sonali
  • 2,223
  • 6
  • 32
  • 69
  • I doubt this problem is solvable in all cases. Even if you could do that in-app, one could still mirror screen to his TV and take screenshot there. – John Mar 27 '17 at 08:30

2 Answers2

0

As far as I'm aware you can't prevent screenshots, using xamarin won't change anything about this. But you can detect them (like snapchat does) see.

Community
  • 1
  • 1
Staeff
  • 4,994
  • 6
  • 34
  • 58
0

It is impossible to prevent user from taking screenshots in iOS (as far as I know), currently. The operating system itself only can restrict users from taking screenshots, currently (also).

Still you can do something to make the process of taking screenshots harder. Users need to press the sleep/wake button and the home button in order to take screenshots and it needs both hands. So you can implement a way to show the data only when the user touches someplace in the screen. Such a mechanism would be great in this case.