---
title: generateInitialTimecode()
framework: AVFoundation
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 26.0+]
path: avfoundation/avcapturetimecodegenerator/generateinitialtimecode()
---

# generateInitialTimecode()

Generates an initial timecode intended to be the first in a sequence.

## Declaration

```swift
func generateInitialTimecode() -> AVCaptureTimecode
```

## Return Value

Return Value A populated AVCaptureTimecode structure.
