Do not allow camera crash app

Hi,

I have a problem : Wen I don't allow camera access in my app, she crash. Can you help me ?

"We're looking forward to completing our review, but we are unable to continue because your app crashed during review. Please review the details below and the attached crash logs, then complete the next steps. 

Steps leading to crash:

  • Do not allow camera 

Review device details:

  • Device type: iPad 
  • OS version: iOS 14.6"

Thx.

show us the code you use to check for camera permission, for example where you use: "AVCaptureDevice.authorizationStatus(for: .video)"

Do not allow camera crash app
 
 
Q