App crashed on enable the camera access from settings

I'm given the Don't allow option to the Camera access and change that enable from the app settings, My app gets crashed. I don't know why it happened. Kindly, explain that reason.


Thank you.