local locationManager = CLLocationManager:new()
locationManager.delegate = self
locationManager.desiredAccuracy = kCLLocationAccuracyKilometer
locationManager.distanceFilter = 500 -- meters
locationManager:startUpdatingLocation()
function locationManager_didUpdateLocations(self, locationManager, locations)
print("updated locations")
end
but it doesn't seem to work, any ideas on how to make this work?