<!--
{
  "availability" : [
    "iOS: 13.4.0 - 27.0.0",
    "iPadOS: 13.4.0 - 27.0.0",
    "macCatalyst: 13.4.0 - 27.0.0",
    "macOS: 10.15.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DropInfo/hasItemsConforming(to:)-4qeez",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8DropInfoV18hasItemsConforming2toSbSaySSG_tF"
  },
  "title" : "hasItemsConforming(to:)"
}
-->

# hasItemsConforming(to:)

Returns whether at least one item conforms to at least one of the
specified uniform type identifiers.

```
func hasItemsConforming(to types: [String]) -> Bool
```

---

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)