<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVRouting",
  "identifier" : "/documentation/AVRouting/AVCustomRoutingControllerDelegate/customRoutingController(_:eventDidTimeOut:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVRouting"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCustomRoutingControllerDelegate(im)customRoutingController:eventDidTimeOut:"
  },
  "title" : "customRoutingController(_:eventDidTimeOut:)"
}
-->

# customRoutingController(_:eventDidTimeOut:)

Tells the delegate when a routing event times out.

```
optional func customRoutingController(_ controller: AVCustomRoutingController, eventDidTimeOut event: AVCustomRoutingEvent)
```

## Parameters

`controller`

A custom routing controller.

`event`

An event that times out.

## Discussion

Adopt this method to clean up any in-progress connection attempts.

---

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)