Instance Method


Adds or extends an empty time range within all tracks of the composition.


- (void)insertEmptyTimeRange:(CMTimeRange)timeRange;



The empty time range to insert.


If you insert an empty time range into the composition, any media that was presented during that interval prior to the insertion will be presented instead immediately afterward. You can use this method to reserve an interval in which you want a subsequently created track to present its media.

See Also

Managing Time Ranges

- insertTimeRange:ofAsset:atTime:error:

Inserts all the tracks within a given time range of a specified asset into the receiver.

- removeTimeRange:

Removes a specified time range from all tracks of the composition.

- scaleTimeRange:toDuration:

Changes the duration of all tracks in a given time range.