<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppExtensionConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension05NEAppB13ConfigurationC"
  },
  "title" : "NEAppExtensionConfiguration"
}
-->

# NEAppExtensionConfiguration

A class that defines configuration options for use in NetworkExtension app extensions.

```
@MainActor @preconcurrency class NEAppExtensionConfiguration
```

## Overview

This class conforms to `NEAppExtensionConfigurationProtocol` and <doc://com.apple.documentation/documentation/ExtensionFoundation/AppExtensionConfiguration> from the <doc://com.apple.documentation/documentation/ExtensionFoundation> framework.
It exists only for use by the framework; you don’t need to use its methods and properties directly.

## Topics

### Setting up the extension

### Communicating over XPC

[`func accept(connection: NSXPCConnection) -> Bool`](/documentation/NetworkExtension/NEAppExtensionConfiguration/accept(connection:))

Accepts incoming XPC connections from the host process.

### Accessing the app extension

## Relationships

### Conforms To

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

[`AppExtensionConfiguration`](/documentation/ExtensionFoundation/AppExtensionConfiguration)

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

### Inherited By

[`NEHotspotEvaluationProviderConfiguration`](/documentation/NetworkExtension/NEHotspotEvaluationProviderConfiguration)

[`NEHotspotAuthenticationProviderConfiguration`](/documentation/NetworkExtension/NEHotspotAuthenticationProviderConfiguration)

[`NEURLFilterControlProviderConfiguration`](/documentation/NetworkExtension/NEURLFilterControlProviderConfiguration)

---

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)