Informs Xcode about when GPU Frame Capture starts and stops.
- iOS 8.0–11.0Deprecated
- macOS 10.11–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
When GPU Frame Capture is enabled, a frame can be defined as the code executed between calls to the
insert method, where each call is a frame boundary. If your app does not call this method, a frame boundary is instead defined by a call to the
present(_: method. If both methods are called, Xcode captures only the frame between
insert method is useful for defining your own frame boundaries. For example, an app with a single drawable and implicit frame boundaries may not need this method; however, an app with multiple drawables may benefit from explicit frame boundaries.