ShotBlocker icon indicating copy to clipboard operation
ShotBlocker copied to clipboard

what do you think about this way to recognize screenshots?

Open haemi opened this issue 12 years ago • 4 comments
trafficstars

http://blog.chpwn.com/post/38491252231

On a technical level, the two basic pieces are UILongPressGestureRecognizer (or -touchesCancelled:withEvent:, if you want) and UIApplicationDelegate.

haemi avatar Dec 28 '12 11:12 haemi

Yeah, it works if "anything that you want to protect will require you to have the user to touch the screen to see."

There might be a way to support this (like [[ShotBlocker sharedManager] addDetectionGestureToView: view]), but it's not a one-size-fits-all method =\ would welcome a PR for it!

clayallsopp avatar Dec 28 '12 14:12 clayallsopp

Is there a way to detect screenshot before it's saved in camera roll? Like I want to alter the views before screenshot is taken.

Cheers!

drakos avatar Mar 27 '13 21:03 drakos

Nope, all screen shot detection techniques only work after-the-fact.

clayallsopp avatar Apr 01 '13 02:04 clayallsopp

Thanks! Great work!

drakos avatar Apr 01 '13 12:04 drakos