You can use Portrait mode on your iPhone to take high-quality photos, as long your iPhone has at least two camera lenses built in.
You can adjust the settings by tapping the yellow Center Stage button at the top of the screen and choosing between auto zoom ...