<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.9.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "MediaLibrary",
  "identifier" : "/documentation/MediaLibrary/MLMediaSourcePhotosIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Library"
    ],
    "preciseIdentifier" : "c:@MLMediaSourcePhotosIdentifier"
  },
  "title" : "MLMediaSourcePhotosIdentifier"
}
-->

# MLMediaSourcePhotosIdentifier

```
let MLMediaSourcePhotosIdentifier: String
```

## Discussion

If your app uses APIs that have read or write access to the user’s Photos library, the <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/NSPhotoLibraryUsageDescription> key is required in your information property list.

---

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)