Using INTULocationManager with Swift 3.0
GreenRobot LLC

I did the following:

func StartService(context: NSManagedObjectContext?){

contextP = context

let loc = INTULocationManager.sharedInstance()

loc.subscribeToLocationUpdates(withDesiredAccuracy: .block, block: {(currentLocation: CLLocation?,

achievedAccuracy: INTULocationAccuracy,

status: INTULocationStatus) -> Void in

if (currentLocation != nil){

print(self.LOG + “Request “ + String(describing: NSDate()))





However when I kill the application it to send you sending the positions, what should I do so this does not happen?

Like what you read? Give Igor Cordeiro a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.