IPhone 6 camera not working?

I have an iPhone 6 Plus and the cameras (front and back) have stopped working. I broke the screen a while ago and then got into a car crash on the way to get it fixed, so the phones taken kind of a beating. I open the camera app and the screens just black, and neither camera works. There's something odd though, whenever I go into a Facebook Messenger call the feature where it turns off whenever you put it close to your face (this feature uses the camera I believe) still works, but if my cameras broken it shouldn't. Whenever I go on Snapchat it also says it has trouble connecting my camera or something along the lines of that.
Any help with this?

The proximity sensor that turns off the screen is NOT a camera, nor does it have anything to do with the camera that is broken.

You seem to be assuming that the proximity sensor does the job of the camera. It doesn't. The proximity sensor is what detects objects (usually a face) when in a call so that it disables the display to prevent unwanted input. The camera doesn't do that.

As far as the cameras you were on the right path by going to (assumedly) the Apple Store to get it seen about.

  • 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.