Phone wont connect to camera

A

AC Question

I was about take a photo of my friend but then when I turn the camera back camera, it says that it wont connect to camera. I was confused. So I took the simcard out then put it on agin then turn it on. It actually worked to the front camera not to the back camera. I dont know any other solutions, please help me!!