<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AVRouting"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCustomRoutingControllerDelegate"
  },
  "title" : "AVCustomRoutingControllerDelegate"
}
-->

# AVCustomRoutingControllerDelegate

A protocol for delegates of a custom routing controller.

```
protocol AVCustomRoutingControllerDelegate : NSObjectProtocol, Sendable
```

## Topics

### Handling controller events

[`func customRoutingController(AVCustomRoutingController, handle: AVCustomRoutingEvent, completionHandler: (Bool) -> Void)`](/documentation/AVRouting/AVCustomRoutingControllerDelegate/customRoutingController(_:handle:completionHandler:))

Connects to, or disconnects from, a device when a user requests it in the picker.

[`func customRoutingController(AVCustomRoutingController, eventDidTimeOut: AVCustomRoutingEvent)`](/documentation/AVRouting/AVCustomRoutingControllerDelegate/customRoutingController(_:eventDidTimeOut:))

Tells the delegate when a routing event times out.

[`func customRoutingController(AVCustomRoutingController, didSelect: AVCustomRoutingActionItem)`](/documentation/AVRouting/AVCustomRoutingControllerDelegate/customRoutingController(_:didSelect:))

Tells the delegate when a user selects a custom item in the route picker.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

---

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)