iOS 7 Beta 4 offers screenshot detection API

By , Jul 29, 2013

snapchat

iOS 7 Beta 2 brought with it an unintended consequence of messing up apps like Snapchat.

Specifically, as Snapchat requires a finger on the screen to hold the photo open while viewing it, the program would no longer close the photo viewing screen upon taking a screenshot.

Even worse, Snapchat couldn’t actually detect that the user took a screenshot of a sent photo, possibly creating a huge privacy concern.

With today’s release of iOS 7 Beta 4, Apple has introduced a brand new API to let third-party apps be notified when the user takes a screenshot, in order to respond accordingly…

As discovered by Scott Buscemi of 9to5Mac, iOS 7 Beta 4 solves an issue preventing Snapchat from detecting screenshots by introducing a new screenshot detection API.

“This won’t be included in Snapchat until the developers work in the new API and Beta 4 is released,” the author remarked.

iOS 7 Screenshot detection API

The “glitch” can be put down to how iOS handles the screenshot taking process.

Currently in iOS 6, one can’t screenshot a pane like Notification Center that’s halfway open because iOS 6 cancels active touches upon detecting the user simultaneously pushing the Power and Home buttons.

iOS 7 Beta 2 has changed that behavior so the operating system no longer cancels active touches when the user takes a screenshot. As a result, I can screenshot the Lock screen’s Quick camera toggle and Control Center halfway open, as seen below.

iOS 7 Beta 4 (screenshot taking, Quick camera)iOS 7 Beta 4 (screenshot taking, Control Center)

The change has introduced a nightmare scenario in apps like Snapchat that have no way of recognizing the screenshot action and notify the user accordingly. This new API has been created specifically to address such concerns.

Of course, it’s up to developers to implement the feature and determine how their warez will detect screenshot taking events. For apps with increased privacy features, such as Snapchat and Facebook Poke, the API will no doubt be crucial in preventing any unwanted action and optionally notifing a person on the other side.

  • Share:
  • Follow:
  • Mr. E

    That’s it I’m not upgrading to beta 4. :P

    • Chris Willard

      Why? beta 4 doesn’t change anything. All it does is introduce an API, that developers can’t USE until public release anyway.

      • Mr. E

        It’s a joke buddy

  • iOS 100

    Whatever measures they take jailbreak will circumvent.

    • Diego Gastón Milano

      Unless App developers forbid their Apps from being used on a jailbroken device.

      • iOS 100

        Circumvented by xCon. Jailbreak community can’t is always ahead.

      • iosPixel

        Yes and no. Any banking app worth it’s salt should dance all over xCon.

        BTW I raised xCon in the whole Deus Ex issue. I understand its function.

      • Sigurd Boe

        Another hinder easily jumped.

  • Lee

    You can already take screenshots of apps like snap chat on the iPhone anyway, so this isn’t news.

    • Cameron Nottingham

      Yes, but the point of this article is that with previous betas users weren’t notified when there pics were screenshotted now the developers can work that api in so it will notify them

      • Lee

        You mean previous versions. It’s possible on iOS6. But I understand what you mean by apps being notified.

      • Sigurd Boe

        When iOS 7 is released and apps compiled against the iOS7 SDK is allowed to be published on the App Store, SnapChat and other apps may even hinder the possibility of saving the image at all.

        I disagree that apps should have the possibility to do such checks. But I am of a Jailbreak, and DIY fandom.

  • Tyler Flowers

    This is why it’s a beta. It’s broken because it’s brand new. Before iOS 7 is released I’m sure snapchat will update their app.

  • Gorgonphone

    Bs cause i will just use my iPod touch to take a pic of the iphones screen in snapchat duh lol

  • Shabby

    For apps with increased privacy features, such as Snapchat and Facebook Poke, the API will no doubt be crucial in preventing any unwanted action and optionally notifing a person on the other side.

    People actually use Facebook poke?

    • Yaseen AlSuwaidan

      what is “Facebook poke”?