<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppPushProvider/unmatchEthernet()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEAppPushProvider(im)unmatchEthernet"
  },
  "title" : "unmatchEthernet()"
}
-->

# unmatchEthernet()

Tells the framework not to use the provider with an active Ethernet connection.

```
func unmatchEthernet()
```

## Discussion

Call this method when the provider doesn’t need to operate if the device’s active network connection is Ethernet.
Typically, you call this if you determine the provider isn’t compatible with the network when running over Ethernet.

This method is only applicable when all of the following are true:

- The [`NEAppPushManager`](/documentation/NetworkExtension/NEAppPushManager) property [`matchEthernet`](/documentation/NetworkExtension/NEAppPushManager/matchEthernet) is `true` (Swift) or `YES` (Objective-C).
- The iOS device is connected to an Ethernet network.
- The Ethernet network is the primary route on the device.

---

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)