<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMPropagateAttachments(_:destination:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "c:@F@CMPropagateAttachments"
  },
  "title" : "CMPropagateAttachments(_:destination:)"
}
-->

# CMPropagateAttachments(_:destination:)

Copies all propagable attachments from one attachment bearer object to another.

```
func CMPropagateAttachments(_ source: CMAttachmentBearer, destination: CMAttachmentBearer)
```

## Parameters

`source`

`CMAttachmentBearer` to copy attachments from.

`destination`

`CMAttachmentBearer` to copy attachments to.

## Discussion

`CMPropagateAttachments` is a convenience call that copies all attachments with a mode of `kCMAttachmentMode_ShouldPropagate` from one buffer to another.  Given a <doc://com.apple.documentation/documentation/CoreVideo/CVBuffer>, `CMPropagateAttachments` is equivalent to `CVBufferPropagateAttachments`.

---

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)