Photos from my iPhone 15 camera have become soft and slightly blurry, especially up close. It is worse in low light. The lens looks clean to me, but I have not actually checked it closely.
Is this a setting, a dirty lens, or a failing camera module?
Start with the lens. Hold the phone at an angle under a light and look for smudges or tiny scratches on the glass — a fingerprint or a bit of pocket lint will soften every photo, and it is by far the most common cause. Clean it with a clean microfibre cloth, not your sleeve.
Next, remove any case or lens attachment and take a few photos in daylight. Tap the screen to set focus explicitly and see whether the blur changes. If it does, you are dealing with focus behaviour rather than a damaged lens: go to Settings → Camera and turn off 'Macro Control' if close-up shots are the problem.
If photos are consistently soft in every condition after cleaning, and the ultra-wide lens is also affected, the camera module may be faulty. Before paying for repair, test the front camera — if that is sharp, the issue is isolated to the rear module.