Can I prevent a user from taking screenshots in a Mac application?

后端 未结 5 1348
忘了有多久
忘了有多久 2020-12-15 01:17

I have an image application and I want to release it where unregistered users can view the files but cant save until they\'ve registered.

I\'m looking for a way to p

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 02:12

    DVD Player does this (the user can still take the screenshot, but the player window doesn't appear in it), so I'm sure there's a way. Maybe setting the window's sharing type to NSWindowSharingNone?

提交回复
热议问题