Contents

removeTrack(_:)

Removes the music track from the sequencer.

Declaration

func removeTrack(_ track: AVMusicTrack) -> Bool

Parameters

  • track:

    The music track to remove.

Return Value

A Boolean value that indicates whether the call succeeds.

Discussion

This method doesn’t destroy the method track since you can reuse it.

See Also

Handling Music Tracks