<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DropInfo/itemProviders(for:)-93409",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8DropInfoV13itemProviders3forSaySo14NSItemProviderCGSay22UniformTypeIdentifiers6UTTypeVG_tF"
  },
  "title" : "itemProviders(for:)"
}
-->

# itemProviders(for:)

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

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

## Parameters

`contentTypes`

The uniform type identifiers to query for.

## Return Value

The item providers that conforms to `contentTypes`.

## Discussion

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

---

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)