<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextPasteDelegate/textPasteConfigurationSupporting(_:combineItemAttributedStrings:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITextPasteDelegate(im)textPasteConfigurationSupporting:combineItemAttributedStrings:forRange:"
  },
  "title" : "textPasteConfigurationSupporting(_:combineItemAttributedStrings:for:)"
}
-->

# textPasteConfigurationSupporting(_:combineItemAttributedStrings:for:)

Asks the delegate to combine multiple strings into a single attributed string.

```
optional func textPasteConfigurationSupporting(_ textPasteConfigurationSupporting: any UITextPasteConfigurationSupporting, combineItemAttributedStrings itemStrings: [NSAttributedString], for textRange: UITextRange) -> NSAttributedString
```

## Parameters

`textPasteConfigurationSupporting`

The object that received the paste or drop request.

`itemStrings`

An array of attributed strings that will be combined to form a single attributed string.

`textRange`

The position in the text view where the paste or drop operation will place the text.

## Return Value

An attributed string based on the combination of multiple strings.

## Discussion

You implement this method when you need to change how the item strings are combined to form the single attributed string. If this method isn’t implemented, the item strings are concatenated without any delimiters.

---

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)