<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Entitlements/com.apple.developer.networking.slicing.trafficcategory",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "entitlements:Entitlements.com.apple.developer.networking.slicing.trafficcategory"
  },
  "title" : "5G Network Slicing Traffic Category"
}
-->

# 5G Network Slicing Traffic Category

The key that defines the traffic category entitlement to enable Cellular Network Slicing.

## Discussion

To enable Cellular Network Slicing, you need to set the appropriate entitlements and properties.

Set this entitlement and the [`5G Network Slicing App Category`](/documentation/BundleResources/Entitlements/com.apple.developer.networking.slicing.appcategory) entitlement in your property list. If you don’t entitle your app by specifying both these entitlements, your apps network connections won’t use Cellular Network Slicing, even if supported by the carrier.

Use this array to define the different slice types your app’s entitled to. For example, if your app opens network connections using the network service types video, voice, and call signaling, the entitlement property must include `video-2`, `voice-4,` and `callsignaling-5` values for this entitlement key.

Also set one of the following properties, depending on your app’s networking implementation:

- Set <doc://com.apple.documentation/documentation/Network/NWParameters/serviceClass-swift.property> when using the Networking framework.
- Set <doc://com.apple.documentation/documentation/Foundation/URLSessionConfiguration/networkServiceType> when using <doc://com.apple.documentation/documentation/Foundation/URLSessionConfiguration>.
- Set <doc://com.apple.documentation/documentation/Foundation/URLRequest/networkServiceType-swift.property> when using <doc://com.apple.documentation/documentation/Foundation/URLRequest>.

If your app uses sockets, set this entitlement to `defaultslice-1`. With sockets, all your app traffic uses a slice defined by the carrier to accept all traffic categories. You should still set the [`5G Network Slicing App Category`](/documentation/BundleResources/Entitlements/com.apple.developer.networking.slicing.appcategory) entitlement.

> Note:
> Cellular Network Slicing is only available on supported carriers. Check with individual carriers for availability.

---

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)