Re: Obtaining the color of the screen at a known point

2016-11-05 Thread Carl Hoefs
On Nov 5, 2016, at 5:15 PM, Richard Charles wrote: > >> On Nov 5, 2016, at 5:50 PM, Carl Hoefs >> wrote: >> >> I have an iOS app in which the user touches the screen, and I need to read >> the color of screen at the touched point. How can this be done in iOS 9.3? > > OpenGL ES glReadPixels?

Re: Obtaining the color of the screen at a known point

2016-11-05 Thread Richard Charles
> On Nov 5, 2016, at 5:50 PM, Carl Hoefs wrote: > > I have an iOS app in which the user touches the screen, and I need to read > the color of screen at the touched point. How can this be done in iOS 9.3? OpenGL ES glReadPixels? --Richard Charles _

Obtaining the color of the screen at a known point

2016-11-05 Thread Carl Hoefs
I have an iOS app in which the user touches the screen, and I need to read the color of screen at the touched point. How can this be done in iOS 9.3? The only solution I could find uses CGDisplayCreateImageForRect() and CGDisplayAddressForPosition(), which apparently no longer exist. -Carl __