---
title: "append(_:withPresentationTime:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetwriterinputpixelbufferadaptor/append(_:withpresentationtime:)"
---

# append(_:withPresentationTime:)

Appends a pixel buffer to the adaptor.

## Declaration

```swift
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 doc://com.apple.avfoundation/documentation/AVFoundation/AVAssetWriter/startSession(atSourceTime:) with.

## Return Value

Return Value true if the adaptor appends the pixel buffer; otherwise, false.
