Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import CoreLocation
- def locationServicesEnabled():
- if CoreLocation.CLLocationManager.locationServicesEnabled():
- return True
- else:
- return False
- if __name__ == "__main__":
- print locationServicesEnabled()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement