Instance Property

lastModifiedDate

The calendar date on which the media library was last modified.

Declaration

var lastModifiedDate: Date { get }

See Also

Receiving Notifications when the User's Library Changes

func beginGeneratingLibraryChangeNotifications()

Asks the media library to turn on notifications for whenever the library changes.

func endGeneratingLibraryChangeNotifications()

Asks the media library to turn off notifications for whenever the library changes.

static let MPMediaLibraryDidChange: NSNotification.Name

Indicates the media library has changed.