You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -350,8 +350,15 @@ Checks the authorization status for Photos access. If the status check returns:
350
350
*`denied` - The `Security & Privacy` System Preferences window is opened with the Photos privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
351
351
*`restricted` - The Promise is resolved as `restricted`.
352
352
353
-
Your app must provide an explanation for its use of the photo library using the `NSPhotoLibraryUsageDescription``Info.plist` key.
353
+
Your app must provide an explanation for its use of the photo library using either the `NSPhotoLibraryUsageDescription` or the `NSPhotoLibraryAddUsageDescription``Info.plist` key.
354
354
355
+
For requesting add-only access to the user’s photo library:
356
+
```
357
+
<key>NSPhotoLibraryAddUsageDescription</key>
358
+
<string>Your reason for wanting to access Photos</string>
359
+
```
360
+
361
+
For requesting read/write access to the user’s photo library:
355
362
```
356
363
<key>NSPhotoLibraryUsageDescription</key>
357
364
<string>Your reason for wanting to access Photos</string>
0 commit comments