---
title: "itemProviders(for:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/dropinfo/itemproviders(for:)"
---

# itemProviders(for:)

Finds item providers that conform to at least one of the specified uniform type identifiers.

## Declaration

```swift
func itemProviders(for contentTypes: [UTType]) -> [NSItemProvider]
```

## Parameters

- `contentTypes`: The uniform type identifiers to query for.

## Return Value

Return Value The item providers that conforms to contentTypes.

## Discussion

Discussion This function is only valid during the performDrop() action.
