clearEvents(in:)
Removes all events in the given beat range from the music track.
Declaration
func clearEvents(in range: AVBeatRange)Parameters
- range:
The range of beats.
Discussion
The system won’t modify the events outside of the range you specify.