iOS prevent screen capture

There are tons of packages to prevent screen capture on Android, but I can not do it on ios.

Can someone please give me some help code with ir?

Thanks in afvanced.

On iOS there simply isn’t a way to prevent screenshots / capture, you can only detect when a screenshot has already been made (like Snapchat).

On Android you could use the Display flag FLAG_SECURE (more about that here: https://developer.android.com/reference/android/view/Display.html#FLAG_SECURE). Mind that this won’t prevent all possibilities of screen capture.