How do you get iPhone out of zoom if its zoomed in?

you put your fingers on the screen and move them together as if you are pinching something. do this repeatedly depending on how far you want to zoom out.
if you want to zoom in, do the opposite motion.