How do you calculate focusPointOfInterest (CGPoint value from 0.0 to 1.1) for a given AVCaptureDevice?
I followed code examples from the latest WWDC, but I really don't understand how the calculation is done. In addition, my application sits in a landscape or portrait (as in the example) ... therefore, except that you don’t understand how things are calculated, I’m not sure what adjustments I need to make to take into account landscape orientation.
Any help would be appreciated.
Thanks - wg
source
share