---
title: endGeneratingLibraryChangeNotifications()
framework: mediaplayer
role: symbol
role_heading: Instance Method
path: mediaplayer/mpmedialibrary/endgeneratinglibrarychangenotifications()
---

# endGeneratingLibraryChangeNotifications()

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

## Declaration

```swift
func endGeneratingLibraryChangeNotifications()
```

## Discussion

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

- [beginGeneratingLibraryChangeNotifications()](mediaplayer/mpmedialibrary/begingeneratinglibrarychangenotifications().md)
- [lastModifiedDate](mediaplayer/mpmedialibrary/lastmodifieddate.md)
