How to initialize the zoom magnification

My app is a camera app using AVFoundation framework. When it uses UltraWideCamera, its initial zoom magnification is 0.5x. I would like to make it 1.0x.

How can I do this? Please let me know the swift code to realize it. Thanks in advance.

How to initialize the zoom magnification
 
 
Q