<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMediaLibrary/endGeneratingLibraryChangeNotifications()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMediaLibrary(im)endGeneratingLibraryChangeNotifications"
  },
  "title" : "endGeneratingLibraryChangeNotifications()"
}
-->

# endGeneratingLibraryChangeNotifications()

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

```
func endGeneratingLibraryChangeNotifications()
```

## Discussion

To completely turn off notifications, you must call this method the same number of times that you called [`beginGeneratingLibraryChangeNotifications()`](/documentation/MediaPlayer/MPMediaLibrary/beginGeneratingLibraryChangeNotifications()).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)