---
title: "customRoutingController(_:didSelect:)"
framework: avrouting
role: symbol
role_heading: Instance Method
path: "avrouting/avcustomroutingcontrollerdelegate/customroutingcontroller(_:didselect:)"
---

# customRoutingController(_:didSelect:)

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

## Declaration

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

## Parameters

- `controller`: A custom routing controller.
- `customActionItem`: The selected action item.

## See Also

### Handling controller events

- [customRoutingController(_:handle:completionHandler:)](avrouting/avcustomroutingcontrollerdelegate/customroutingcontroller(_:handle:completionhandler:).md)
- [customRoutingController(_:eventDidTimeOut:)](avrouting/avcustomroutingcontrollerdelegate/customroutingcontroller(_:eventdidtimeout:).md)
