Hi jaanika123,
Thanks for reaching out to the Apple Support Communities. If having issues with the camera on your iPhone, give the steps below a try that can help:
If the camera isn't working
1. Remove any case, accessory, or film that might block the camera or that places a magnet near the camera.
2. Test the camera by trying to take a photo.
3. 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 or if the camera lens appears to be misaligned or blocked, contact Apple Support for help with your iPhone, iPad, or iPod touch.
4. Restart your iPhone, iPad, or iPod touch.
5. Test the camera again by taking a photo. If your device has a front and rear camera, check if one or both isn’t working. To switch cameras, tap the rotate button.
You can find these steps at this link here: If the camera or flash on your iPhone, iPad, or iPod touch isn't working - Apple Support
If still having issues after the steps above, we'd like to ask a few more questions to help narrow down the issue further.
- Does this issue occur with the front camera, back camera, or both?
- Are you able to see these lines in multiple apps, or just the Camera app?
- Do these lines appear in all camera modes, or when trying to record a video?
We look forward to hearing back from you.
Take care!