Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func viewDidLoad() {
- super.viewDidLoad()
- title = "Map"
- locationManager.delegate = self
- if CLLocationManager.authorizationStatus() == .NotDetermined {
- locationManager.requestWhenInUseAuthorization()
- } else {
- locationManager.startUpdatingLocation()
- }
- print(Realm.Configuration.defaultConfiguration.path!)
- populateMap()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement