Mobile menu toggle

Apple approves private API call for use by iPhone app devs

By

forbidden-fruit1

Although their App Store approval procedure has recently been modified to automatically reject apps that use them, Apple’s stance prohibiting developers from using private API calls has been looking a bit wobbly lately. First, Steve Jobs personally approved an app that used a private API to enable video streaming, and now comes word that Apple will officially allow developers to use the UIGetScreenImage() private API call in their applications.

According to the Apple forum moderator who outlined the change over in the official developer forums: “After carefully considering the issue, Apple is now allowing applications to use the function UIGetScreenImage() to programmatically capture the current screen contents.”

Developers should expect, however, to update their applications if a “future release of iPhone OS… provide[s] a public API equivalent of this functionality,” at which point, “all applications using UIGetScreenImage() will be required to adopt the public API.”

That’s an interesting development for a couple of reasons. For one, it actually allows streaming video from the iPhone camera on even older model iPhones, just by pasting enough UIGetScreenImage()s together. More interestingly, it implies that Apple is working to create public API equivalents of a lot of their most in-demand private API calls, which should expand app development possibilities dramatically by the time iPhone OS 4.0 rolls around.

[via TUAW, image via Aral Balkan]

Newsletters

Daily round-ups or a weekly refresher, straight from Cult of Mac to your inbox.

  • The Weekender

    The week's best Apple news, reviews and how-tos from Cult of Mac, every Saturday morning. Our readers say: "Thank you guys for always posting cool stuff" -- Vaughn Nevins. "Very informative" -- Kenly Xavier.