I understand you're getting a black screen when trying to use your rear facing camera on your iPhone. I use my camera on my iPhone daily, so I understand wanting to get this fixed, and I'd be happy to help.
Let's have you take a look at this article for some steps to take to help with your camera:
Get help with the camera on your iPhone, iPad, or iPod touch
Thank you for using Apple Support Communities.
Have a great day!