Advertisement
Guest User

Untitled

a guest
May 21st, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import CoreLocation
  4.  
  5. def locationServicesEnabled():
  6. if CoreLocation.CLLocationManager.locationServicesEnabled():
  7. return True
  8. else:
  9. return False
  10.  
  11. if __name__ == "__main__":
  12. print locationServicesEnabled()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement