Contents

CMTimeMappingMakeEmpty(target:)

Creates a valid time mapping with an empty source.

Declaration

func CMTimeMappingMakeEmpty(target: CMTimeRange) -> CMTimeMapping

Parameters

  • target:

    A time range on the target timeline.

Return Value

A new time mapping.

Discussion

The target time range must have a duration whose epoch is 0, otherwise the system returns an invalid time mapping.

See Also

Creating Time Mappings