<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPasteConfiguration/addTypeIdentifiers(forAccepting:)-4fvd6",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPasteConfiguration(im)addTypeIdentifiersForAcceptingClass:"
  },
  "title" : "addTypeIdentifiers(forAccepting:)"
}
-->

# addTypeIdentifiers(forAccepting:)

Expands the array of accepted UTIs for a paste configuration, based on those declared as supported by a specified class.

```
func addTypeIdentifiers(forAccepting aClass: any NSItemProviderReading.Type)
```

## Parameters

`aClass`

A class conforming to the <doc://com.apple.documentation/documentation/Foundation/NSItemProviderReading> protocol.

## Discussion

This method uses the property <doc://com.apple.documentation/documentation/Foundation/NSItemProviderReading/readableTypeIdentifiersForItemProvider>, implemented on `aClass`, to determine the uniform type identifiers (UTIs) to add to the paste configuration’s [`acceptableTypeIdentifiers`](/documentation/UIKit/UIPasteConfiguration/acceptableTypeIdentifiers) array.

---

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)