Instance Method

endGeneratingLibraryChangeNotifications()

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

Declaration

func endGeneratingLibraryChangeNotifications()

Discussion

To completely turn off notifications, you must call this method the same number of times that you called beginGeneratingLibraryChangeNotifications().

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.

static let MPMediaLibraryDidChange: NSNotification.Name

Indicates the media library has changed.

var lastModifiedDate: Date

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