If your iPhone camera won't work, you may be able to easily solve it. Here are some quick fixes to try before contacting Apple.
When you're sure nothing is blocking your iPhone's camera, you can fix it in 6 ways when it has a black screen. Try them and see what works.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results