I'm trying to implement tap to focus and tap to exposure in my iPhone app.
I'm using the AVFoundation camera interface and I'm having trouble moving between the 2 co-ord systems.
UIView uses a system that goes from (0,0) in the top left (in portrait mode) to (320,480) in the bottom right.
However the AVCaptureSession uses a system that goes from (0,0) in the top right to (1,1) in the bottom left.
I've had a look at the AVCamDemo but it doesn't seem to do anything to convert these, one minute you have the UIView coords and the next you have the AV coords.
Any help is appreciated!
Thanks
Oliver