Screenshot notifier api for MAC OS

I am looking for screenshot notification api specific for MAC OS.

I can see this for IOS on below link:

UIApplicationUserDidTakeScreenshotNotification | Apple Developer Documentation


If I am taking a screenshot in MAC OS, I want to get notify from MAC OS. Please help to understand this.

Thanks

MacBook Pro 16″, macOS 12.3

Posted on May 16, 2023 11:01 PM

Reply
3 replies

May 24, 2023 4:48 AM in response to vgambhir

vgambhir wrote:

Thanks for the reply. We are looking for a notifier based implementation from OS side this may lead to scanning of screen shot metadata to in iterative mode.

There is no such API.


Can you explain what you are trying to accomplish? At a high level?


Because of the closed nature of iOS, the "screenshot" functionality is much more strongly compartmentalized. But on macOS, there are literally an infinite number of ways to take a screenshot. The system-provided functionality is just one way. Those file system hacks will not suffice.

Screenshot notifier api for MAC OS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.