i have a requirement where we need to restrict the user in taking the screen shot. as of now iam using this code NotificationCenter.default.addObserver(self, selector: #selector(didDetectScreenshot), name: UIApplication.userDidTakeScreenshotNotification, object: nil)
This is triggered after taking the screenshot.
Is there any possibility to completely restrict in taking the screenshot.