I am able to detect screenshot only after screenshot is taken.
UIApplication.userDidTakeScreenshotNotification.
But my requirement is to detect at the same time while user is taking screenshot, so that I can hide my confidential data.
Please comment out if there are any better solutions or any callback functions available.
1
1
2.1k