<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreTelephony",
  "identifier" : "/documentation/CoreTelephony/CTQuickSwitchManager/unregisterForLaunch(onQuickSwitchStateEvents:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Telephony"
    ],
    "preciseIdentifier" : "c:objc(cs)CTQuickSwitchManager(cm)unregisterForLaunchOnQuickSwitchStateEvents:"
  },
  "title" : "unregisterForLaunch(onQuickSwitchStateEvents:)"
}
-->

# unregisterForLaunch(onQuickSwitchStateEvents:)

Removes the calling app’s registration for background launch on quick switch state changes.

```
class func unregisterForLaunch(onQuickSwitchStateEvents completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```
class func unregisterForLaunchOnQuickSwitchStateEvents() async throws
```

## Parameters

`completionHandler`

A completion handler the framework calls after processing the request. The parameter passed to the completion handler indicates whether the request succeeded, failed, or ended in an unknown state.

## Discussion

Call this method when you want to de-register the current device so it no longer receives quick switch event notifications when your app isn’t running.

After this call succeeds, the system no longer launches the app  in the background when the device’s QuickSwitch state transitions. The framework calls the completion handler with a non-`nil` error if the app was not previously registered or if the the framework couldn’t complete the request.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)