Initialization
To initialize the framework and allow it to collect data in the background it is necessary to add this call in the didFinishLaunchingWithOptions
method (this method don't start the tracking engine)
/* ------ AppDelegate.swift ------ */
//importing the framework
import GeoUniq
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let _ = GeoUniq.sharedInstance()
return true
}
Last updated
Was this helpful?