Is it possible to display a tap-to-focus blue box when a custom overlay is used in a UIImagePickerView and when showsCameraControl attribute is set to FALSE?
Share
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.
The modal camera view already supports touch-to-focus. You need to make your overlay view “transparent” to touches.
Subclass a UIView as OverlayView and add something like this. In my overlay view I have two buttons, which should of course not be transparent for touching.
There are probably other and more elegant ways to do this.
I think you would also have to add the little “focus rectangle” on your view programmatically.