Chosen Solution
I had my lens replaced on my rear facing cameras and now they will not focus up close.
I would make sure that there is nothing in the actual lens. It is a nightmare to have small speck of dust in an iPhone camera. Depending on where you got the camera I would recommend messaging them.