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

# appendImmediately(_:with:)

Appends the tagged pixel buffers synchronously if the input is ready for more media data.

## Declaration

```swift
func appendImmediately(_ taggedPixelBufferGroup: [CMTaggedDynamicBuffer], with presentationTime: CMTime) throws -> Bool
```

## Parameters

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

## Return Value

Return Value Returns true if the append was successful, false if the input was not ready for more media data.

## Discussion

Discussion note: An error if the underlying writer failed.

## See Also

### Appending tagged buffers

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