Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what do you think about this way to recognize screenshots? #1

Open
haemi opened this issue Dec 28, 2012 · 4 comments
Open

what do you think about this way to recognize screenshots? #1

haemi opened this issue Dec 28, 2012 · 4 comments

Comments

@haemi
Copy link

haemi commented Dec 28, 2012

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

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

@clayallsopp
Copy link
Owner

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!

@drakos
Copy link

drakos commented Mar 27, 2013

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!

@clayallsopp
Copy link
Owner

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

@drakos
Copy link

drakos commented Apr 1, 2013

Thanks! Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants