TechnologiesDevice, Sensors & Hardware

CoreTelephony

iOSmacOStvOSwatchOSvisionOS

CoreTelephony gives your app access to cellular telephony information on iOS and macOS, including carrier details, call state, cellular plans, and 5G network slicing for traffic routing. Use CTTelephonyNetworkInfo and CTCarrier to read network and carrier information, CTCallCenter and CTCall to observe call state, and CTSubscriber and CTSubscriberInfo to identify the subscriber. To work with cellular plans, use CTCellularPlanProvisioning and CTCellularPlanProvisioningRequest to add and provision plans, query capabilities and status through CTCellularPlanCapability and CTCellularPlanStatus, and route traffic over network slices with CTSlicingManager.

Network and Carrier Information 3

Read information about the device's cellular network and the carriers providing service.

  • Cl
    CTTelephonyNetworkInfoiOS 4.0+
    An object that provides information about the device's cellular service provider and network.
  • Cl
    CTCarrier
    An object that provides information about the user's cellular service provider.
  • Pr
    CTTelephonyNetworkInfoDelegateiOS 13.0+
    A protocol for responding to changes in cellular network and carrier information.

Call State 2

Observe the state of incoming and outgoing cellular calls.

  • Cl
    CTCallCenter
    An object that monitors changes to the state of the device's cellular calls.
  • Cl
    CTCall
    An object that represents a cellular call and reports its current state.

Subscriber Identity 3

Identify the cellular subscriber and respond to changes in subscriber state.

  • Cl
    CTSubscriberInfoiOS 6.0+
    An object that provides access to the device's cellular subscribers.
  • Cl
    CTSubscriberiOS 7.0+
    An object that represents the cellular subscriber associated with the device.
  • Pr
    CTSubscriberDelegateiOS 12.1+
    A protocol for responding to changes in the state of a cellular subscriber.

Cellular Plans 6

Add, provision, and inspect cellular plans on the device.

  • Cl
    CTCellularPlanProvisioningiOS 12.0+
    An object that adds and provisions cellular plans on the device.
  • Cl
    CTCellularPlanProvisioningRequestiOS 12.0+
    A request that specifies the details needed to add and provision a cellular plan.
  • Cl
    CTCellularPlanPropertiesiOS 26.0+
    An object that describes the properties of a cellular plan available on the device.
  • Cl
    CTCellularPlanStatusiOS 26.0+
    An object that reports the current status of a cellular plan.
  • En
    CTCellularPlanCapabilityiOS 26.0+
    Constants that indicate whether the device supports adding a cellular plan.
  • En
    CTCellularPlanProvisioningAddPlanResultiOS 12.0+
    Constants that indicate the outcome of an attempt to add a cellular plan.

Quick Switch 2

Manage rapid switching between cellular plans and track its progress.

  • Cl
    CTQuickSwitchManageriOS 27.0+
    An object that manages rapid switching between the device's cellular plans.
  • En
    CTQuickSwitchState
    Constants that indicate the current state of a quick switch between cellular plans.

Cellular Data and Network Slicing 3

Check cellular data availability and route traffic over 5G network slices.

  • Cl
    CTCellularDataiOS 9.0+
    An object that reports whether your app can access cellular data and notifies you of changes.
  • En
    CTCellularDataRestrictedState
    Constants that indicate whether your app's access to cellular data is restricted.
  • Cl
    CTSlicingManager
    Manages network slicing capabilities to control and monitor cellular network traffic routing.

Errors 1

The error type reported by Core Telephony operations.

  • St
    CTError
    A structure that describes an error reported by a Core Telephony operation.

Type Aliases 1

  • Ty
    CellularDataRestrictionDidUpdateNotifier

Extends 2

NSNotificationNotificationCenter
← Device, Sensors & Hardware