If your iPhone is showing a black screen that never goes away, you should try resetting it or putting it into recovery mode.
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