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:
Type | Reason |
---|---|
IPHPhotoLibraryChangeObserver | Interface representing the required methods (if any) of the protocol Photos.PHPhotoLibraryChangeObserver. |
PHAdjustmentData | Application-specific "recipe" data for the most recent edit made to a Photos.PHAsset. |
PHAsset | A Photos.PHObject representing a single photo or video. |
PHAssetBurstSelectionType | Indicates whether the Photos app or the user selected an asset as a favorite. |
PHAssetChangeRequest | Used within a Photos change block to create, update, or delete Photos.PHAsset objects. |
PHAssetCollection | A collection of Photos.PHAssets. |
PHAssetCollectionChangeRequest | Used within a Photos change block to create, update, or delete Photos.PHAssetCollection objects.. |
PHAssetCollectionSubtype | Enumerates values that describe the particular subtype (For example, time lapses, bursts, shared collections in the cloud, and etc.) of an asset collection. |
PHAssetCollectionType | Enumerates varieties of Photos.PHAssetCollection. |
PHAssetContentEditingInputExtensions | Extension methods for Photos.PHAsset objects. |
PHAssetEditOperation | Enumerates values that indicate whether an operation edits or deletes an asset, changes its properties, or performs no action on the asset. |
PHAssetImageProgressHandler | A continuation handler for that is called by the Photos application to show progress for an image request. |
PHAssetMediaSubtype | Enumerates values that describe media subtypes. (HDR, panorama, streaming video, and etc.) |
PHAssetMediaType | Enumerates the forms of Photos.PHAsset. |
PHAssetVideoProgressHandler | Delegate type used with Photos.PHVideoRequestOptions.ProgressHandler. |
PHAuthorizationStatus | Enumerates the current authorization allowed by the application user. |
PHCachingImageManager | A Photos.PHImageManager that fetches or generates image data for Photos.PHAssets. |
PHChange | Sent by the system and encapsulate details about changes to a fetch result (see Photos.PHFetchResult) or Photos.PHObject instances. |
PHChangeDetailEnumerator | Enumerates differences between snapshots of the objec at the specified indices. |
PHCollection | Abstract collection of Photos.PHObjects. Concrete subtypes are Photos.PHAssetCollection and Photos.PHCollectionList. |
PHCollectionEditOperation | Enumerates values that describe the editing operations that can be performed on a collection. |
PHCollectionList | A list of Photos.PHAssetCollections. |
PHCollectionListChangeRequest | Used within a Photos change block to create, update, or delete Photos.PHCollectionList objects.. |
PHCollectionListSubtype | Enumerates values that indicate the subtype of the collection. |
PHCollectionListType | Enumerates values that indicate whether a collection is a moment list, folder, or smart folder. |
PHContentEditingHandler | Completion handler for the Photos.PHAssetContentEditingInputExtensions.RequestContentEditingInput method. |
PHContentEditingInput | Describes an editable Photos.PHAsset. |
PHContentEditingInputRequestOptions | Options used when requesting to edit an Photos.PHAsset. |
PHContentEditingOutput | Describes the result of editing a Photos.PHAsset. |
PHFetchOptions | Options used when retrieving objects of type Photos.PHAsset, Photos.PHCollection, Photos.PHAssetCollection, or Photos.PHCollectionList. |
PHFetchResult | An ordered list of Photos.PHObject objects. |
PHFetchResultChangeDetails | Differences between a fetch previously performed and what would be the results if the same fetch were performed now. |
PHFetchResultEnumerator | Enumerates the assets in a fetch result. |
PHImageContentMode | Enumerates values that control how images are displayed. |
PHImageDataHandler | Completion handler for the Photos.PHImageManager.RequestImageData method. |
PHImageKeys | Constants indicating results of image loading. Used with Photos.PHImageManager.RequestImageForAsset, defines the keys and values passed to the Photos.PHImageResultsHandler . |
PHImageManager | A singleton object that allows loading Photos.PHAsset objects. |
PHImageManagerRequestAvAssetHandler | Completion handle for the Photos.PHImageManager.RequestAvAsset method. |
PHImageManagerRequestExportHandler | Completion handler for the Photos.PHImagaManager.RequestExportSession method. |
PHImageManagerRequestPlayerHandler | Completion handler for the Photos.PHImageManager.RequestPlayerItem method. |
PHImageRequestOptions | Options used when retrieving images with the PHImageManager singleton. |
PHImageRequestOptionsDeliveryMode | Enumerates values that control the desired balance between speed and quality when retrieving image data. |
PHImageRequestOptionsResizeMode | Enumerates values that control the speed and accuracy of image resizing operations. |
PHImageRequestOptionsVersion | Enumerates values that control whether to retrieve edited or unedited versions of images. |
PHImageResultHandler | Completion handler for the Photos.PHImageManager.RequestImageForAsset method. |
PHObject | Abstract class for elements within the Photos library; subclasses are individual Photos.PHAsssets, composite Photos.PHCollections, or not-yet-created Photos.PHPObjectPlaceholders. |
PHObjectChangeDetails | Holds information between a fetched Photos object and the state of that asset or collection within the Photos library. |
PHObjectPlaceholder | A read-only proxy for an Photos.PHAsset or Photos.PHCollectionList that has not yet been created, but will be created via a sequence of change requests. |
PHPhotoLibrary | The entire set of data managed by the Photos app. This includes both locally stored assets and, if user-enabled, assets stored in iCloud. |
PHPhotoLibraryChangeObserver | Provides methods relating to changes in the Photos.PHPhotoLibrary. |
PHProgressHandler | Continuation handler for tracking image operation progress. |
PHVideoRequestOptions | Options used when retrieiving videos with the Photos.PHPhotoManager singleton. |
PHVideoRequestOptionsDeliveryMode | Enumerates values that balance the load time and quality of video when requesting video data. |
PHVideoRequestOptionsVersion | Enumerates values that control whether to return the edited or original version of a video asset. |