Developers now can use private API for screen capture on iPhone, says Apple

Dec 16th, 2009

Tags: api, entry, screen

Jump to related media:

   stories icon  youtube icon  


Filed under: iPhone , App Store , SDK , iPod touch , Jailbreak/pwnage As Apple seems to be lightening up and accepting more applications using private APIs (including Ustream and others that stream video from the iPhone 3G), word comes that the review team is now officially allowing the UIGetScreenImage() function to be used in applications distributed in the App Store. An Apple forum moderator stated in the developer forums: “After carefully considering the issue, Apple is now allowing applications to use the function UIGetScreenImage() to programmatically capture the current screen contents.” The function prototype is as follows: CGImageRef UIGetScreenImage(); Apple also states “that a future release of iPhone OS may provide a public API equivalent of this functionality.” It’s also noted that “At such time, all applications using UIGetScreenImage() will be required to adopt the public API.” This function, which is a part of the Core Graphics framework , allows an application access to what’s being currently being displayed on the screen. It’s useful for things like capturing a screen shot, as our own Erica Sadun’s BETAkit does to allow developers to send screen shots to a developer. It also allows streaming video from the iPhone camera, as an application like this captures what’s being displayed on the screen from the camera, and records it or sends it somewhere

893d24a259ex sdk.png Developers now can use private API for screen capture on iPhone, says Apple

The rest is here:
Tuaw

Receive our latest articles in your email inbox completely free. Enter your email address below (no spam)

We never disclose our readers' information without prior consent.
Delivered by FeedBurner

youtube iconRelated Youtube videos

Loading...

twitter iconRelated Tweets

No comments yet.

Friend Sites

Other Language

Category

Archives