Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using camera zoom on iPhone

Is it not possible to utilize the zoom already supported in the iPhone 4S-camera through some function calls like Android's setzoom(); method?

like image 914
Shamy Avatar asked Feb 12 '26 05:02

Shamy


1 Answers

Looking at Apple's documentation of the UIImagePickerController-class, it does not seem like you can programmatically utilise the native camera-zoom of the iPhone 4S. However, if the property showsCameraControls (docs) is set to true, the user can still zoom natively by pinching with two fingers.

Unfortunately, I am not aware of any private APIs that can do this either.

like image 137
Emil Avatar answered Feb 13 '26 19:02

Emil