like I want to take videos that can focus on everything at the same time without losing background detail. Like if I was focusing on a person I don't want the background to lose quality.
Difficult to do. The iPhone doesn't have a mechanical aperture. So stopping it down does not change Depth of Field. The wider aperture lets more light in, decreases the Depth of Field and gives the out of focus background. DOF is related to distance to subject so stepping back from your subject may help in your case.
Moving you subject farther away will not increase depth of field. If the aperture is fixed so is the DOF. I do agree that if the subject is closer to the background, both will be in apparent focus.
Moving you subject farther away will not increase depth of field. If the aperture is fixed so is the DOF. I do agree that if the subject is closer to the background, both will be in apparent focus.
Play around with this^ only change the subject distance (focal distance) and watch your DOF change. (Camera (sensor size) doesn't matter as long as it's constant)