2

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...

Jim
  • 8,874
  • 16
  • 68
  • 125
  • 3
    This is a legitimate question, and it shouldn't have been "closed as not a real question". If anything, it's a duplicate. – JRG-Developer Sep 08 '13 at 06:35

2 Answers2

4

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
Community
  • 1
  • 1
Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92
1

In iOS 4.0, there was a notification fired PictureWasTakenNotification, but not anymore in iOS 5.0 or latter.

iOSPawan
  • 2,884
  • 2
  • 25
  • 50