A shared object that manages access and changes to the user’s shared photo library.
- iOS 8.0+
- macOS 10.13+
- tvOS 10.0+
PHPhoto object represents the entire set of assets and collections managed by the Photos app, including both assets stored on the local device and (if enabled) those stored in iCloud Photos. You use this object for the following tasks:
Getting or verifying the user's permission for your app to access Photos content.
Making changes to assets and collections; for example, editing asset metadata or content, inserting new assets, or rearranging the members of a collection.
Registering for update messages sent when changes are made to the library.