Create custom extensions for editing photo, video, and Live Photos content in the Photos app. Add views to your app to display Live Photos content interactively.
- iOS 8.0+
- macOS 10.11+
- tvOS 10.0+
The Photos UI framework provides user interface features related to the Photos framework (in iOS, tvOS, and macOS) and support for creating photo editing extensions for the Photos app (in iOS and macOS).
Creating Photo Editing Extensions
In iOS or macOS, you adopt the
PHContent protocol to create an app extension that adds to the photo editing options and capabilities in the Photos app. Creating such an extension also requires using the following classes from the Photos framework:
Displaying Live Photos
PHLive class provides a way to display Live Photos—pictures, taken on compatible hardware, that include motion and sound from the moments just before and after their capture. A Live Photo view provides the same interactive playback features found in the Photos app.
In iOS and tvOS, you can fetch Live Photo objects to display in a Live Photo view with the
PHLive class in the Photos framework. In macOS, the
PHLive class provides access to Live Photos being edited in a photo editing extension for the Photos app.
To display Live Photo content on the web, use the LivePhotosKit JS framework.