The point for [AVCaptureDevice setFocusPointOfInterest:]
does not coincide with the touch point of the view, but a point between 0.0 and 1.1 (see documents). So you should do:
CGPoint point = [touch locationInView:self.cameraView]; point.x /= self.cameraView.frame.size.width; point.y /= self.cameraView.frame.size.height; [self focusAtPoint:point];
source share