On Dec 15, 2009, at 3:11 PM, Gabriel Zachmann wrote:

> According to this
>  
> http://www.tuaw.com/2009/12/14/app-store-approved-app-brings-video-recording-to-iphone-3g-and-1/
> they use the non-documented UIGetScreenImage().
> 
> I'd love to use that if it's the only way -- if only somebody could provide 
> me with some simple sample code how to use it .

while (youWantImages)
{
        CGImageRef image = UIGetScreenImage();
        //process image here
        CGImageRelease(image); //even though this is a Get function, it returns 
a retained image.
}

Luke_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to