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

# CTQuickSwitchManager

An object that enables an app to register and query a device’s quick switch state.

```
class CTQuickSwitchManager
```

## Topics

### Getting the state of the device

[`func getDeviceState((CTQuickSwitchState, (any Error)?) -> Void)`](/documentation/CoreTelephony/CTQuickSwitchManager/getDeviceState(_:))

Gets the quick switch state of the current device.

[`func getPhoneNumberState(forSuffix: String, completion: (CTQuickSwitchState, (any Error)?) -> Void)`](/documentation/CoreTelephony/CTQuickSwitchManager/getPhoneNumberState(forSuffix:completion:))

Queries the quick switch state for a phone number whose suffix matches the provided phone number suffix.

### Registering and unregistering a device

[`class func registerForLaunch(onQuickSwitchStateEvents: ((any Error)?) -> Void)`](/documentation/CoreTelephony/CTQuickSwitchManager/registerForLaunch(onQuickSwitchStateEvents:))

Registers the calling app for background launch whenever the device’s quick switch state changes.

[`class func unregisterForLaunch(onQuickSwitchStateEvents: ((any Error)?) -> Void)`](/documentation/CoreTelephony/CTQuickSwitchManager/unregisterForLaunch(onQuickSwitchStateEvents:))

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

### Responding to changes in the quick switch state

[`var delegate: (any CTQuickSwitchManager.Delegate)?`](/documentation/CoreTelephony/CTQuickSwitchManager/delegate-swift.property)

An object the system notifies to respond to quick switch events.

[`func quickSwitchManager(CTQuickSwitchManager, didChangeTo: CTQuickSwitchState)`](/documentation/CoreTelephony/CTQuickSwitchManager/Delegate-swift.protocol/quickSwitchManager(_:didChangeTo:))

Indicates there’s been a change in device’s quick switch state.

[`enum CTQuickSwitchState`](/documentation/CoreTelephony/CTQuickSwitchState)

Values that describe a device’s quick switch status.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)