I am trying to develop a small application. In it, I need to detect the color of a pixel within an UIView. I have a CGPoint defining the pixel I need. The colors of the UIView are changed using CoreAnimation.
I know there are some complex ways to extract color information from UIImages. However I couldn't find a solution for UIViews.
In Pseudo-Code I am looking for something like
pixel = [view getPixelAtPoint:myPoint];
UIColor *mycolor = [pixel getColor];
Any input greatly appreciated.