Contents

MPMediaItemPropertyAlbumPersistentID

The key for the persistent identifier for an album.

Declaration

let MPMediaItemPropertyAlbumPersistentID: String

Discussion

This value is an NSNumber object that contains a MPMediaEntityPersistentID. The value of the MPMediaItemPropertyAlbumPersistentID identifier persists across application launches and across syncs that do not change the sync status of the media item. The value is not guaranteed to persist across a sync/unsync/sync cycle.

Can be used to build a media property predicate as described in MPMediaPropertyPredicate.

See Also

Filterable property keys