how to take screenshots in safari
Asked on 07/31/2024
1 search
To take screenshots in Safari, you can use the new APIs provided by ScreenCaptureKit. Specifically, the SC screenshot manager offers a screenshot API that allows you to take HDR screenshots. Here are the steps to do this:
- Create a Configuration: First, create a configuration for HDR local display.
- Choose the Capture Function: If your app needs CM sample buffers for the screenshot, use the
capturesample buffer
function. If a CG image is preferred, use thecapture image
function.
For more detailed information, you can refer to the session Capture HDR content with ScreenCaptureKit (05:51).
Relevant Sessions

Capture HDR content with ScreenCaptureKit
Learn how to capture high dynamic colors using ScreenCaptureKit, and explore new features like HDR support, microphone capture, and straight-to-file recording.

What’s new in device management
Learn about the latest management capabilities for iOS, iPadOS, macOS, and visionOS, then discover the latest changes to Apple Business Manager and Apple School Manager. We’ll also share updates to Activation Lock, SoftwareUpdate, and Safari management.

Introducing enterprise APIs for visionOS
Find out how you can use new enterprise APIs for visionOS to create spatial experiences that enhance employee and customer productivity on Apple Vision Pro.