简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM