3 ms·
What? App-B on iOS knows when I'm taking a screenshot from App-Y? I don't have iOS to check but that seems crazy.
by edoceo 2mo ago
What? App-B on iOS knows when I'm taking a screenshot from App-Y? I don't have iOS to check but that seems crazy.
- efskap 2mo agoI guess it would need permissions, but you can monitor the photo library with PHPhotoLibraryChangeObserver and check if a new item's subtype is photoScreenshot. Otherwise userDidTakeScreenshotNotification only fires for your own app
- echoangle 2mo agoNo, I was talking about App Y knowing about a screenshot you take of App Y. Isn’t that what everyone is talking about?
- albedoa 2mo agoYes, that commenter is lost.
- KennyBlanken 2mo agoYes, as does android. https://developer.apple.com/documentation/uikit/uiapplication/userdidtakescreenshotnotification https://developer.apple.com/documentation/uikit/uiapplicatio...