---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipickerview/delegate
---

# delegate

The delegate for the picker view.

## Declaration

```swift
weak var delegate: (any UIPickerViewDelegate)? { get set }
```

## Discussion

Discussion The delegate must adopt the UIPickerViewDelegate protocol and implement the required methods to return the drawing rectangle for rows in each component. It also provides the content for each component’s row, either as a string or a view, and it typically responds to new selections or deselections.

## See Also

### Customizing the picker behavior

- [UIPickerViewDelegate](uikit/uipickerviewdelegate.md)
