tags:

views:

277

answers:

1

Hello,

I would like to access in real time to the data of the camera to get the hue of several points in order to guide the user (inform him when is the best moment to take the picture). The application will be probably available on the appstore and then I want to just use allowed API. I've seen a lot of similar topics, some of them telling this is possible but none of them showing a solution.

Do you have any idea for this?

Thanks in advance :)

+2  A: 

You need the undocumented UIGetScreenImage() function; an Apple representative recently stated their approval of the use thereof in the iPhone developer forums.

Noah Witherspoon
Thanks you for your fast answer! Do you have an example of this function? I do not have access to your link.
AP
It takes no parameters and returns a pointer to a CGImageRef, which you are responsible for releasing. You should be able to log into the developer forums using your iPhone developer account credentials.
Noah Witherspoon