Iam trying to prevent the screenshot from ios , iam trying this method
NotificationCenter.default.addObserver(self, selector: #selector(didDetectScreenshot), name: UIApplication.userDidTakeScreenshotNotification, object: nil)
Is there any other possible ways to prevent the scrennshot before taking the photo.