<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotosUI",
  "identifier" : "/documentation/PhotosUI",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "PhotosUI"
  },
  "title" : "PhotosUI"
}
-->

# PhotosUI

Present a person’s photo library using a picker interface, display Live Photos, or extend the Photos app with custom functionality.

## Overview

PhotosUI offers a photo picker that lets people view their library and choose one or more photos for your app to display or process. The picker renders in a system view and only gives your app access to the photos someone chooses, which facilitates a user experience with enhanced privacy.

The framework also provides a view you can use to display Live Photos.

> Note: PhotosUI is a <doc://com.apple.photokit/documentation/PhotoKit> framework.

## Topics

### Shared photo library

  <doc://com.apple.photokit/documentation/PhotoKit/delivering-an-enhanced-privacy-experience-in-your-photos-app>

[`class PHLivePhotoView`](/documentation/PhotosUI/PHLivePhotoView)

A view that displays a Live Photo.

### Photos picker for UIKit, AppKit

  <doc://com.apple.photokit/documentation/PhotoKit/selecting-photos-and-videos-in-ios>

[`class PHPickerViewController`](/documentation/PhotosUI/PHPickerViewController)

A view controller that provides the user interface for choosing assets from the photo library.

[`protocol PHPickerViewControllerDelegate`](/documentation/PhotosUI/PHPickerViewControllerDelegate-5yntc)

A set of methods that the delegate must implement to respond to `PHPickerViewController` user events.

[`struct PHPickerConfiguration`](/documentation/PhotosUI/PHPickerConfiguration-swift.struct)

An object that contains information about how to configure a picker view controller.

[`@interface PHPickerConfiguration : NSObject`](/documentation/PhotosUI/PHPickerConfiguration-c.class)

An object that contains information about how to configure a picker view controller.

[`struct PHPickerFilter`](/documentation/PhotosUI/PHPickerFilter-swift.struct)

A type that defines the filter to apply to the photo library.

[`@interface PHPickerFilter : NSObject`](/documentation/PhotosUI/PHPickerFilter-c.class)

A type that defines the filter to apply to the photo library.

[`struct PHPickerResult`](/documentation/PhotosUI/PHPickerResult-swift.struct)

Types that represent a selected asset from a person’s photo library.

[`@interface PHPickerResult : NSObject`](/documentation/PhotosUI/PHPickerResult-c.class)

Types that represent a selected asset from a person’s photo library.

### Photos picker for SwiftUI

  <doc://com.apple.photokit/documentation/PhotoKit/bringing-photos-picker-to-your-swiftui-app>

  <doc://com.apple.photokit/documentation/PhotoKit/implementing-an-inline-photos-picker>

[`struct PhotosPicker`](/documentation/PhotosUI/PhotosPicker)

A view that displays a Photos picker for choosing assets from the photo library.

[`struct PhotosPickerItem`](/documentation/PhotosUI/PhotosPickerItem)

A type that represents an item you use with a Photos picker.

[`struct PhotosPickerSelectionBehavior`](/documentation/PhotosUI/PhotosPickerSelectionBehavior)

A type that describes how the Photos picker handles user selection.

[`struct PhotosPickerStyle`](/documentation/PhotosUI/PhotosPickerStyle)

### Live Photos

  <doc://com.apple.photokit/documentation/PhotoKit/displaying-live-photos>

### Photo editing extensions

  <doc://com.apple.photokit/documentation/PhotoKit/creating-photo-editing-extensions>

[`protocol PHContentEditingController`](/documentation/PhotosUI/PHContentEditingController)

A protocol your custom view controller class implements to provide a user interface for your Photos extension.

### macOS Photos project extensions

  <doc://com.apple.photokit/documentation/PhotoKit/creating-a-slideshow-project-extension-for-photos>

[`class PHProject`](/documentation/Photos/PHProject)

A representation of a Photos app project extension.

[`class PHProjectInfo`](/documentation/PhotosUI/PHProjectInfo)

Information about the project extension.

[`class PHProjectExtensionContext`](/documentation/PhotosUI/PHProjectExtensionContext)

An object that provides Photos project extensions with access to the underlying project, as well as to the user’s photo library for editing.

[`class PHProjectElement`](/documentation/PhotosUI/PHProjectElement)

The superclass for all element objects.

[`class PHProjectSection`](/documentation/PhotosUI/PHProjectSection)

A collection of content representing curated asset and text elements.

[`class PHProjectRegionOfInterest`](/documentation/PhotosUI/PHProjectRegionOfInterest)

A representation of a region of interest in a photo asset.

[`class PHProjectChangeRequest`](/documentation/Photos/PHProjectChangeRequest)

A request to change asset data in a Photos project extension.

[`protocol PHProjectExtensionController`](/documentation/PhotosUI/PHProjectExtensionController)

A protocol defining the life cycle and supported types of project extensions.

[`struct PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory)

A representation of Photos project extension categories.

### Classes

[`class PHSharedAlbumCreationViewController`](/documentation/PhotosUI/PHSharedAlbumCreationViewController)

[`class PHSharedAlbumCustomizationViewController`](/documentation/PhotosUI/PHSharedAlbumCustomizationViewController)

[`class PHSharedAlbumPostingViewController`](/documentation/PhotosUI/PHSharedAlbumPostingViewController)

### Structures

[`struct PHPickerMetadataOptions`](/documentation/PhotosUI/PHPickerMetadataOptions)

Constants that specify metadata options for \c PHPickerViewController.

[`struct PHPickerSearchText`](/documentation/PhotosUI/PHPickerSearchText-swift.struct)

A search text for `PHPickerViewController`.

[`struct PHSharedAlbumCreationConfiguration`](/documentation/PhotosUI/PHSharedAlbumCreationConfiguration-swift.struct)

An object used to configure a `PHSharedAlbumCreationViewController`.

[`struct PHSharedAlbumCreationResult`](/documentation/PhotosUI/PHSharedAlbumCreationResult-swift.struct)

The result of a user creating a shared album.

### Enumerations

[`enum PHSharedAlbumCreationSharingPolicy`](/documentation/PhotosUI/PHSharedAlbumCreationSharingPolicy)

The sharing policy for creating shared albums.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)