Instance Method

photoLibraryDidChange:

Tells your observer that a set of changes has occurred in the Photos library.

Required.

Declaration

- (void)photoLibraryDidChange:(PHChange *)changeInstance;

Parameters

changeInstance

An object representing the changes.

Discussion

Use the provided PHChange object to find out which, if any, of the albums or collections you’re interested in have changed and get detailed change information. Call the change object’s changeDetailsForObject: method to get information about changes to an asset’s contents or metadata properties or about a collection’s metadata properties. Call the change object’s changeDetailsForFetchResult: to get information about changes to a collection’s list of members (or to any other fetch result).

Photos calls this method on an arbitrary queue. If you need to update your app’s UI as a result of the change, dispatch to the main queue.