<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNProtocolIKEv2/deadPeerDetectionRate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEVPNProtocolIKEv2(py)deadPeerDetectionRate"
  },
  "title" : "deadPeerDetectionRate"
}
-->

# deadPeerDetectionRate

The frequency at which the IKEv2 client will run the dead peer detection algorithm.

```
var deadPeerDetectionRate: NEVPNIKEv2DeadPeerDetectionRate { get set }
```

## Discussion

The IKEv2 client periodically communicates with the IKEv2 server to detect when communication with the IKEv2 server has been interrupted. This property specifies how frequently this communication takes place. The default is [`NEVPNIKEv2DeadPeerDetectionRate.medium`](/documentation/NetworkExtension/NEVPNIKEv2DeadPeerDetectionRate/medium).

---

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)