The Photos namespace provides classes for manipulating photo and video assets managed by the Photos App, including iCloud photos.
Application-specific "recipe" data for the most recent edit made to a PHAsset.
A PHObject representing a single photo or video.
Used within a Photos change block to create, update, or delete PHAsset objects.
A collection of PHAssets.
Used within a Photos change block to create, update, or delete PHAssetCollection objects..
Extension methods for PHAsset objects.
An object that can construct a new photo or video asset and add it to the Photos library.
A data resource that can be composed into a PHAsset.
Options when creating assets from data resources.
Allows manipulation of the data underlying a PHAsset.
Options used when fetching resources with PHAssetResourceManager.
A list of PHAssetCollections.
Used within a Photos change block to create, update, or delete PHCollectionList objects..
Describes an editable PHAsset.
Options used when requesting to edit an PHAsset.
Describes the result of editing a PHAsset.
An ordered list of PHObject objects.
Differences between a fetch previously performed and what would be the results if the same fetch were performed now.
Constants indicating results of image loading. Used with RequestImageForAsset(PHAsset, CGSize, PHImageContentMode, PHImageRequestOptions, PHImageResultHandler), defines the keys and values passed to the PHImageResultHandler .
A singleton object that allows loading PHAsset objects.
An image that contains motion and sound from the time it was captured.
An editing context for a live photo's image, audio, and video data.
Contains a playback option for use when processing or editing a Live Photo.
Defines keys for the
Contains options for requesting live photos from a photo manager.
Holds information between a fetched Photos object and the state of that asset or collection within the Photos library.
The entire set of data managed by the Photos app. This includes both locally stored assets and, if user-enabled, assets stored in iCloud.
Provides methods relating to changes in the PHPhotoLibrary.
Defines the interface for Live Photo frames that are produced by the system.
Interface representing the required methods (if any) of the protocol PHPhotoLibraryChangeObserver.
Indicates whether the Photos app or the user selected an asset as a favorite.
Enumerates values that describe the particular subtype (For example, time lapses, bursts, shared collections in the cloud, and etc.) of an asset collection.
Enumerates varieties of PHAssetCollection.
Enumerates values that indicate whether an operation edits or deletes an asset, changes its properties, or performs no action on the asset.
Enumerates values that describe media subtypes. (HDR, panorama, streaming video, and etc.)
Enumerates the forms of PHAsset.
Enumerates types of PHAssetResource data.
Enumerates the means by which an asset entered the Photos library.
Enumerates the current authorization allowed by the application user.
Enumerates values that describe the editing operations that can be performed on a collection.
Enumerates values that indicate the subtype of the collection.
Enumerates values that indicate whether a collection is a moment list, folder, or smart folder.
Enumerates values that control how images are displayed.
Enumerates values that control the desired balance between speed and quality when retrieving image data.
Enumerates values that control the speed and accuracy of image resizing operations.
Enumerates values that control whether to retrieve edited or unedited versions of images.
Enumerates Live Photo frame types.
Enumerates values that balance the load time and quality of video when requesting video data.
Enumerates values that control whether to return the edited or original version of a video asset.
The Photos namespace, introduced in iOS 8, allows application developers to manipulate photos and videos managed by the Photos app, including iCloud photos.
Capabilities of the Photos namespace include:
- Fetching assets and collections of assets.
- Editing assets, including support for reverting changes.
- Observing changes in assets.
- Acces to Photos-provided data such as the Moments hierarchy, high-framerate video captures, whether photos were captured with panorama or burst mode, etc..
- Loading thumbnails and caching assets.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.