Hi _michaelyap,
Thank you for posting to Apple Support Communities.
When lines are appearing on photos when using the Camera app, you may be able to fix software issues with the following guidance:
1. If the photo is blurry, clean the front and back camera lenses with a microfiber cloth. If you see dirt or debris inside the lens, damage to your iPhone near the camera, or if the camera lens appears to be misaligned or blocked, contact Apple Support to discuss service options.
2. If you see motion blur in low-light situations and you use a lens converter, metallic case, or a magnetic lens mount, try removing the accessory.
3. Restart your iPhone, iPad, or iPod touch.
4. Update your iPhone to the latest version of iOS.
5. Test the camera again by taking a photo. If your device has a front and rear camera, check if one or both aren't working. To switch cameras, tap the rotate button
.
This information is provided in If the camera or flash on your iPhone, iPad, or iPod touch isn't working - Apple Support.
If those steps don’t help, there may be something hardware related happening with the camera. Contact Apple directly for additional support here: Get Support
Thanks for using the Apple Support Communities.