Re: [iPhone] Sample code for live camera stream?
Re: [iPhone] Sample code for live camera stream?
- Subject: Re: [iPhone] Sample code for live camera stream?
- From: Luke the Hiesterman <email@hidden>
- Date: Tue, 15 Dec 2009 15:14:28 -0800
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 (email@hidden)
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:
This email sent to email@hidden