in application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift [212:221]
func handleDenied(){
DispatchQueue.main.async {
let alert = UIAlertController(title: "Camera Access Denied", message: "Camera Access Denied!. In order to use this app, please go to Settings and give access to ", preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "Go To Settings", style: .cancel, handler: { (_) in
let settingsUrl = URL(string: UIApplication.openSettingsURLString)!
UIApplication.shared.open(settingsUrl)
}))
self.present(alert, animated: true, completion: nil)
}
}