Skip to content

Instantly share code, notes, and snippets.

@mizutori
Created August 18, 2016 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizutori/cded26da76994b45ece31c350f34d455 to your computer and use it in GitHub Desktop.
Save mizutori/cded26da76994b45ece31c350f34d455 to your computer and use it in GitHub Desktop.
Call startUpdatingLocation via sharedInstance of LocationService class
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
LocationService.sharedInstance.startUpdatingLocation()
return true
}
@fdfgdfgdfgf
Copy link

,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment