Why has my iPhone camera stopped focusing?
Since the phone is less than a year old, it will be covered by the default AppleCare warranty. I suggest contacting Apple, and they will probably just replace the phone outright.