# 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)

{% tabs %}
{% tab title="Swift" %}

```swift
/* ------ AppDelegate.swift ------ */

//importing the framework
import GeoUniq

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

    let _ = GeoUniq.sharedInstance()

    return true
}
```

{% endtab %}

{% tab title="Object-C" %}

```objectivec
/* ------ AppDelegate.m ------ */

//importing the framework
#import "GeoUniq/GeoUniq-Swift.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    [GeoUniq sharedInstance];

    return YES;
}
```

{% endtab %}
{% endtabs %}
