<!--
{
  "availability" : [
    "iOS: 26.3.0 -",
    "iPadOS: 26.3.0 -",
    "macCatalyst: 26.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreTelephony",
  "identifier" : "/documentation/CoreTelephony/CTSlicingManager/activeSlices",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Telephony"
    ],
    "preciseIdentifier" : "s:13CoreTelephony16CTSlicingManagerC12activeSlicesSayAC5SliceVGvp"
  },
  "title" : "activeSlices"
}
-->

# activeSlices

Information about currently active network slices on the device.

```
final var activeSlices: [CTSlicingManager.Slice] { get async throws }
```

## Return Value

An array of [`CTSlicingManager.Slice`](/documentation/CoreTelephony/CTSlicingManager/Slice) structures, each containing `appCategory`, `trafficClass`, and `networkInterfaceName`.

## Discussion

This property returns an array of [`CTSlicingManager.Slice`](/documentation/CoreTelephony/CTSlicingManager/Slice) structures containing detailed information
about each active network slice, including the app category, traffic class, and network interface name.

Use this property to monitor which network slices currently run, and to validate that your preferred slice activates successfully.

```swift
do {
    let slices = try await CTSlicingManager.shared.activeSlices

    for slice in slices {
        print("Active slice:")
        print("  Category: \(slice.appCategory.description)")
        print("  Traffic Class: \(slice.trafficClass.description)")
        print("  Interface: \(slice.networkInterfaceName)")
    }
} catch POSIXError.ENOTSUP {
    print("Network slicing isn't currently available.")
} catch {
    print("Error retrieving active slices: \(error)")
}
```

> Throws:
> 
> - `POSIXError.ENOTSUP` if network slicing is not currently available.
> - `POSIXError.EINVAL` if an invalid parameter or system error occurs.

---

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)