<!--
{
  "availability" : [
    "iOS: 4.1.0 - 27.0.0",
    "iPadOS: 4.1.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 10.7.0 - 27.0.0",
    "tvOS: 9.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInputPixelBufferAdaptor/append(_:withPresentationTime:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetWriterInputPixelBufferAdaptor(im)appendPixelBuffer:withPresentationTime:"
  },
  "title" : "append(_:withPresentationTime:)"
}
-->

# append(_:withPresentationTime:)

Appends a pixel buffer to the adaptor.

```
func append(_ pixelBuffer: CVPixelBuffer, withPresentationTime presentationTime: CMTime) -> Bool
```

## Parameters

`pixelBuffer`

The pixel buffer to append.

`presentationTime`

The pixel buffer’s presentation time. The time you specify is relative to the time you called [`startSession(atSourceTime:)`](/documentation/AVFoundation/AVAssetWriter/startSession(atSourceTime:)) with.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the adaptor appends the pixel buffer; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

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)