@@ -65,12 +65,12 @@ class ViewController: UIViewController {
locationManager.startUpdatingLocation()
break
case.denied:
// Show alert instructing them how to turn on permissions
displayAlert(alertTitle:"Unable to access location",alertMessage:"The app does not have access to location because the user denied")
break
case.notDetermined:
locationManager.requestWhenInUseAuthorization()
case.restricted:
// Show an alert letting them know what's up
displayAlert(alertTitle:"Unable to access location",alertMessage:"The app does not have access to location because of Device Settings(like Parental Controls)")