imaginary-cloud / CameraManager

Simple Swift class to provide all the configurations you need to create custom camera view in your app
MIT License
1.37k stars 323 forks source link

Zoom lower than 1.0? #257

Open jeed2424 opened 3 years ago

jeed2424 commented 3 years ago

So I have this app that's more than likely going to be used on iPhones 11+ and most of them support 0.5x zoom. I've been trying for quite a while to figure out all of your code and make it possible to use the functionality to no avail... Everytime I try my 0.5 button returns 1.0x zoom...

How should it work?!

das-anubhav commented 3 years ago

Hi! I would like to solve this issue.

jeed2424 commented 3 years ago

@das-anubhav, That's great to hear!

Theoretically, this function is only handled by iPhone 11+ because of the cameras being used, so you could either add a device identification (or not, I already have one set up in my app but that could be useful for new users of the pod). Other than that, I don't know much about the Pod so it's really hard for me to tell what would need to be modified...