Instance Method

insertEmptyTimeRange:

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

Declaration

- (void)insertEmptyTimeRange:(CMTimeRange)timeRange;

Parameters

timeRange

The empty time range to insert.

Discussion

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.