---
title: "removeRDD18AncillaryData(forTag:)"
framework: AVFoundation
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+]
path: "avfoundation/avcaptureancillarydataencoder/removerdd18ancillarydata(fortag:)"
---

# removeRDD18AncillaryData(forTag:)

Allows the user to remove the ancillary data associated with the tag.

## Declaration

```swift
func removeRDD18AncillaryData(forTag tag: UInt16)
```

## Parameters

- `tag`: The SMPTE RDD 18 tag with, value between 0xE011 and 0xFFFF or valid tags definded in SMPTE RDD 18:2021, for the data to be removed
