Chosen Solution
I cracked the camera glass on my iPhone, and after removing the old glass with a blow dryer and some tweezers, I noticed the camera won’t focus. Is this because I don’t have the glass cover on? I am waiting on a new one to ship right now. Also, I tried to clean the lens with a microfiber cloth and isopropyl alcohol, but that didn’t seem to help.
Greetings! Most likely since the glass is not covering the camera anymore, dust may have gotten in to the camera, like behind the lens of the actual camera module. The lens of the actual camera may have been scratched as well too, I believe it is made of plastic, but not sure of that. You probably will need a new camera to fix this issue.