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]

  • Subscribe to the Newsletter

    Our daily roundup of Apple news, reviews and how-tos. Plus the best Apple tweets, fun polls and inspiring Steve Jobs bons mots. Our readers say: "Love what you do" -- Christi Cardenas. "Absolutely love the content!" -- Harshita Arora. "Genuinely one of the highlights of my inbox" -- Lee Barnett.

Leave a Reply