Chosen Solution
I replaced my shaking iPhone 6s camera with an iFixit replacement camera. It does a great job focusing on close objects, but it won’t focus on anything past about 4 feet. Any thoughts?
In rare cases sometimes you need to reset all settings on the phone after replacing the camera. This is in settings > general> reset> reset all settings. If that doesn’t work backup up your phone and do a restore. If that fails it will be the camera that is faulty.