<!--
{
  "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(_:didSelect:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVRouting"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCustomRoutingControllerDelegate(im)customRoutingController:didSelectItem:"
  },
  "title" : "customRoutingController(_:didSelect:)"
}
-->

# customRoutingController(_:didSelect:)

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

```
optional func customRoutingController(_ controller: AVCustomRoutingController, didSelect customActionItem: AVCustomRoutingActionItem)
```

## Parameters

`controller`

A custom routing controller.

`customActionItem`

The selected action item.

---

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)