# CaptureNextFrameToXcode()

> Begin capture to Xcode at the beginning of the next frame, and end it at the end of the next frame.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Apple](/engine/6000.7/script-reference/unityengine/apple.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static void CaptureNextFrameToXcode()
```

### Remarks

This is the same as calling [FrameCapture.BeginCaptureToXcode](/engine/6000.7/script-reference/unityengine/apple/framecapture/begincapturetoxcode.md) and [FrameCapture.EndCapture](/engine/6000.7/script-reference/unityengine/apple/framecapture/endcapture.md), but with implicit boundaries at the start and end of the frame.
