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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I need to hide or remove gps indicator from status bar/ navigation bar on background mode. I have already used locationManager?.showsBackgroundLocationIndicator = false but it doesn't when user select "While using the app".
I want to disable taking screenshots of confidential information but it is not working in iOS 17 beta .
For earlier version I am using ‘isSecureTextEntry' but it is unstable for the recent beta . I am still able to detect the screenshot but not prevent it by using UIApplication.userDidTakeScreenshotNotification .
Is there any way to achieve it ?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
iOS
App Store
Beta
iPad and iOS apps on visionOS