<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureTimecode/advanced(_:by:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@F@AVCaptureTimecodeAdvancedByFrames"
  },
  "title" : "advanced(_:by:)"
}
-->

# advanced(_:by:)

Generates a new timecode by adding a specified number of frames to the given timecode, handling overflow for seconds, minutes, and hours.

```
static func advanced(_ timecode: AVCaptureTimecode, by framesToAdd: Int64) -> AVCaptureTimecode
```

## Parameters

`timecode`

The original [`AVCaptureTimecode`](/documentation/AVFoundation/AVCaptureTimecode) to be incremented.

`framesToAdd`

The number of frames to add to the timecode.

## Return Value

A new [`AVCaptureTimecode`](/documentation/AVFoundation/AVCaptureTimecode) struct with the updated time values after adding the specified frames.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)