What is PhotoKit

Generated on 7/31/2024

1 search

PhotoKit is a framework that allows your app to interact with the photo and video assets on a user's device. It provides functionalities to add captured photos and videos to the photo library, even when the device is locked. PhotoKit is designed to protect the privacy of the photos and videos in the photo library, ensuring that only the assets captured during the current session are accessible when the device is locked. It also supports granular levels of photo library access, such as write-only access and limited library support, allowing users to select specific photos to share with your app.

For more details, you can refer to the session Build a great Lock Screen camera capture experience.

Build a great Lock Screen camera capture experience

Build a great Lock Screen camera capture experience

Find out how the LockedCameraCapture API can help you bring your capture application’s most useful information directly to the Lock Screen. Examine the API’s features and functionality, learn how to get started creating a capture extension, and find out how that extension behaves when the device is locked.

Squeeze the most out of Apple Pencil

Squeeze the most out of Apple Pencil

New in iOS 18, iPadOS 18, and visionOS 2, the PencilKit tool picker gains the ability to have completely custom tools, with custom attributes. Learn how to express your custom drawing experience in the tool picker using the same great tool picking experience available across the system. Discover how to access the new features of the Apple Pencil Pro, including roll angle, the squeeze gesture, and haptic feedback.

What’s new in privacy

What’s new in privacy

At Apple, we believe privacy is a fundamental human right. Learn about new and improved permission flows and other features that manage data in a privacy-preserving way, so that you can focus on creating great app experiences.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

Build compelling spatial photo and video experiences

Build compelling spatial photo and video experiences

Learn how to adopt spatial photos and videos in your apps. Explore the different types of stereoscopic media and find out how to capture spatial videos in your iOS app on iPhone 15 Pro. Discover the various ways to detect and present spatial media, including the new QuickLook Preview Application API in visionOS. And take a deep dive into the metadata and stereo concepts that make a photo or video spatial.

Keep colors consistent across captures

Keep colors consistent across captures

Meet the Constant Color API and find out how it can help people use your app to determine precise colors. You’ll learn how to adopt the API, explore its scientific and marketing potential, and discover best practices for making the most of the technology.