objectWasDeleted
A Boolean value that indicates whether the object has been deleted from the Photos library.
Declaration
var objectWasDeleted: Bool { get }Discussion
If this value is true, the asset or collection has been permanently deleted from the Photos library.
To instead track the removal of assets from collections (or collections from collection lists), fetch the collection’s contents and use the changeDetails(for:) method to track changes to the fetch result.