IPhone X camera not working?

Both cameras on my iPhone X only show black. I have quit the camera app, restarted my phone, reset all my phone settings, and updated the latest iOS. The second I open the camera app, after turning my phone back on it works, and I can use it fine, but as soon as I try again, it's back to black. I would really appreciate any suggestions on what's wrong/how to fix it!

Check the internals if the camera is unattached.

  • Why is my IPhone 4 camera not working? My camera stopped working like 2 weeks ago, the shutter won't open, but when I use snap-chat only my front camera works, I don't know what happened? I tried everything, resetting the phone everything and its still not working. What can I do? It really annoying.
  • Why do I look gross on my iPhone camera, but not on an actual camera? I took two videos: one on my iPhone and one on my sister's new camera to test it out. On my phone, I look gross, blotchily red- and white-faced, every blemish is exaggerated, and my skin looks oily. On my sister's camera, I looked exactly the way I do in a mirror (well/evenly tanned, no extremely noticeable blemishes, not too oily). They're both 1080p, but my phone makes me look a lot worse. Even my really old 480p camera makes me look better than on my iPhone.
  • Which camera is better: An old General Imaging x500 Digital Camera or an iPhone 7 front camera? It looks like an iPhone only offers 7 MP while this camera boasts 16 MP but this camera is so old and looks worse at least on its own screen. I'm confused
  • Just experts in camera. I'm looking for a cool camera not so expensive like $250-$350? I want a camera that if I print it, it will look in HD. And also easy to understand. I had an Olympus Stylus 1010 and their pictures were good. But I would like to have another one because that one is too old. Please tell me I want to have a camera because the photo from the iPhone are the ugliest.