Comment by edoceo

14 hours 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.

I 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