I have a UIImagePicker control and I want to programtically select a focus point on the screen.
Is it possible through some method or property to set the focus point as a CGPoint?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is not method for settings the focus vor
UIImagePickerControllerin the documentation.If guess you will have to write your own camera view with
AVCaptureSession.If you hooked up al the parts, you can use the
focusPointOfInterestproperty ofAVCaptureDeviceto set the focus. But you should make sure that theAVCaptureDevicesupports focus.