---
title: "removeDetectionTrack(_:)"
framework: cinematic
role: symbol
role_heading: Instance Method
path: "cinematic/cnscript-1ispe/removedetectiontrack(_:)"
---

# removeDetectionTrack(_:)

Removes the user-created detection track.

## Declaration

```swift
final func removeDetectionTrack(_ detectionTrack: CNDetectionTrack) -> Bool
```

## Parameters

- `detectionTrack`: The detection track to remove.

## Return Value

Return Value A flag indicating whether removal of the user-created detection track was successful.

## Discussion

Discussion It’s not possible to remove tracks created at recording time.
