I have launched application settings using UIApplication.shared.open(URL(string: UIApplicationOpenSettingsURLString)!, options: [:], completionHandler: nil)
I am using this to enable camera when the user has denied this once.
In settings app, when I enable camera, the application is crashed.
Is there any way I can fix it?