fetch all the photos
- ID
ec9eeb8- date
2023-06-10 16:17:43+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
9175fdb- message
fetch all the photos- changed files
1 file, 2 deletions
Changed files
BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift (6767) → BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift (6693)
diff --git a/BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift b/BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift
index 6c796e1..a941e9c 100644
--- a/BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift
+++ b/BlinkReviewer/BlinkReviewer/Photos/PhotosLibrary.swift
@@ -52,7 +52,6 @@ class PhotosLibrary: NSObject, ObservableObject, PHPhotoLibraryChangeObserver {
let options = PHFetchOptions()
options.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]
- options.fetchLimit = 500
// print()
@@ -105,7 +104,6 @@ class PhotosLibrary: NSObject, ObservableObject, PHPhotoLibraryChangeObserver {
let options = PHFetchOptions()
options.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]
- options.fetchLimit = 500
self.isPhotoLibraryAuthorized = PHPhotoLibrary.authorizationStatus() == .authorized