I have been reading the AVFoundation docs and I have just not been able to find any sort of API for the zoom functionality of the camera.
Could anyone give my any pointers about where to look for information?
Thanks!
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 no hardware zoom on any of current (and previous) versions of the iPhone/iPad/iPod. You can achieve software zoom a couple a different way. Probably the easiest would be to use a view’s layer’s transform property and set it to something like CGAffineTransformMakeScale(2.0f, 2.0f). You can then clip to an appropriate region.