---
title: "append(_:with:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetwriterinput/taggedpixelbuffergroupreceiver/append(_:with:)"
---

# append(_:with:)

Suspends until the input is ready for more media data, then appends the tagged pixel buffers.

## Declaration

```swift
nonisolated(nonsending) func append(_ taggedPixelBufferGroup: [CMTaggedDynamicBuffer], with presentationTime: CMTime) async throws
```

## Parameters

- `taggedPixelBufferGroup`: The tagged pixel buffers to be appended.
- `presentationTime`: The presentation time for the tagged pixel buffers to be appended.

## Discussion

Discussion note: An error if the underlying writer failed.

## See Also

### Appending tagged buffers

- [appendImmediately(_:with:)](avfoundation/avassetwriterinput/taggedpixelbuffergroupreceiver/appendimmediately(_:with:).md)
- [finish()](avfoundation/avassetwriterinput/taggedpixelbuffergroupreceiver/finish().md)
