Observe Mac OS screenshot

Hello Friends
I am working on a mac project and I want to observe when ever screenshot taken by the user capture and that screenshot want to show in my App like we can do it in iOS app usiing Notification.Name.userDidTakeScreenshotNotification

Thans

Replies

Did you see this ?

h ttps:  // gist.github.    com/ts95/300c5a815393087c72cc

I did not test, but that seems to be what you're looking for.
Thank you for your response @Claude. But it didn't work.