What is Error Domain=com.apple.photos.error Code=46104 mean?
This error appears when I try to create an album on iOS14.
case:
User first gives AddOnly authorization and then gives ReadWrite authorization.
After I get the ReadWrite authorization, create an album.
code reference:
This error appears when I try to create an album on iOS14.
case:
User first gives AddOnly authorization and then gives ReadWrite authorization.
After I get the ReadWrite authorization, create an album.
code reference:
Code Block Objective-C [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{ PHAssetCollectionChangeRequest *request = [PHAssetCollectionChangeRequest creationRequestForAssetCollectionWithTitle:albumName]; albumPlaceholder = [request placeholderForCreatedAssetCollection]; } completionHandler:^(BOOL success, NSError * _Nullable error) { // success is NO, error is "Error Domain=com.apple.photos.error Code=46104" }];
-
—
parthdabhi
Add a CommentHey Thuyu, Thank you for posting this observation. Yes, it's correct but how we can prevent this issue? If a user allows permission to read all photos that should allow us to read all photos but only the first run of app has an issue. Let me know if there is any workaround. Thank you!