Is there any method that calls in app when user made screenshot (hold home button + power) ??? Or which methods could be called ? Like applicationDidBecomeActive or something else ? Thanks...
2 Answers
You could periodically check the latest photo in the library using code from this answer.
Then check some properties to see if it is NOT coming from the camera or other source:
- the format should be PNG
- dimensions should match the screen size
- some additional metadata, perhaps
In iOS 4.0, there was a notification fired PictureWasTakenNotification
, but not anymore in iOS 5.0 or latter.