Instance Method

unregisterChangeObserver(_:)

Unregisters an object so that it no longer receives change messages.

Declaration

func unregisterChangeObserver(_ observer: PHPhotoLibraryChangeObserver)

Parameters

observer

An object currently registered to receive change messages.

See Also

Observing Changes to the Photo Library

Observing Changes in the Photo Library

Register an observer to be notified of changes to the photo library.

func register(PHPhotoLibraryChangeObserver)

Registers an object to receive messages when objects in the photo library change.

protocol PHPhotoLibraryChangeObserver

A protocol you can implement to be notified of changes that occur in the photo library.

class PHChange

A description of a change that occurred in the photo library.

class PHObjectChangeDetails

A description of changes that occurred in an asset or collection object.

class PHFetchResultChangeDetails

A description of changes that occurred in the set of asset or collection objects listed in a fetch result.