---
title: Disabling Automatic SDK Initialization - iOS (classic)
description: Learn how to disable the autostart feature and programmatically start the SDK when needed
source_url:
  html: https://docs.contentsquare.com/fr/ios/disable-autostart/
  md: https://docs.contentsquare.com/fr/ios/disable-autostart/index.md
---

> ## Documentation index
> Fetch the complete documentation index at: https://docs.contentsquare.com/llms.txt
> Use this file to discover all available pages before exploring further.

> **Note**
>
> Cette page est affichée en anglais car elle n'est pas disponible dans votre langue.

This SDK mainly receives critical fixes. New capabilities are shipping in the CSQ SDK first.

[Migrate to the CSQ SDK using our AI wizard.](https://docs.contentsquare.com/en/csq-sdk-ios/experience-analytics/upgrade-from-cs-sdk/#upgrade-with-agents)

If you prefer to control when the SDK starts, you can disable the autostart feature and programmatically start the SDK when needed.

The first step is to add the required key to your `Info.plist`. The key is `CSDisableAutostart` of type boolean. To disable the autostart, you need to set its value to `true`:

* Disable autostart using Xcode:

  ![](https://docs.contentsquare.com/_astro/disable-autostart-xcode.Cn62PlRu_Z1Kvzee.webp)

* Disable autostart using a text editor:

  **Info.plist**

  ```xml
  <key>CSDisableAutostart</key>
  <true/>
  ```

Then call `start()` in the `application:didFinishLaunchingWithOptions:` of your `UIApplicationDelegate`:

```swift
import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        Contentsquare.start()
        return true
    }
    // ...
}
```

When you call the start method, the SDK automatically starts tracking users' interactions with the app (gestures, lifecycle events and crashes).

> **Attention**
>
> Calling `start()` in `UISceneDelegate#scene(_:willConnectTo:options:)` does not work.


```json
{"@context":"https://schema.org","@type":"TechArticle","headline":"Disabling Automatic SDK Initialization","description":"Learn how to disable the autostart feature and programmatically start the SDK when needed","url":"https://docs.contentsquare.com/fr/ios/disable-autostart/","inLanguage":"en","dateModified":"2025-10-09T13:23:48+02:00","publisher":{"@type":"Organization","name":"Contentsquare","url":"https://www.contentsquare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://docs.contentsquare.com/#website","name":"Documentation technique Contentsquare","url":"https://docs.contentsquare.com/"}}
```