segment(forTrackTime:)
Returns a segment whose target time range contains, or is closest to, the specified track time.
Declaration
func segment(forTrackTime trackTime: CMTime) -> AVAssetTrackSegment?Parameters
- trackTime:
The track time of the segment to return.
Return Value
The AVCompositionTrackSegment associated with the track time.