Contents

removeDetectionTrack(_:)

Removes the user-created detection track.

Declaration

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

Parameters

  • detectionTrack:

    The detection track to remove.

Return Value

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

Discussion

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