Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let status = CLLocationManager.authorizationStatus()
- switch status {
- case .authorizedAlways:
- print("authorizedAlways")
- case .authorizedWhenInUse:
- print("authorizedWhenInUse")
- case .denied:
- print("denied")
- case .notDetermined:
- print("notDetermined")
- case .restricted:
- print("restricted")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement