Hi Richard,
Thank you for the guidance. I have tested fetchAssetsWithBurstIdentifier:options: as you suggested and confirmed that I can locate the assets sharing the same burstIdentifier even when they are not appearing in the main Library.
Here is the core of the issue I’m facing:
While I can fetch these assets, there is no explicit property on PHAsset to determine if it currently resides in the "Recently Deleted" album.
In our app's workflow, PHPhotoLibrary returns success = YES during the performChanges block. However, because the new burst is automatically grouped with an existing deleted set, the photo is immediately invisible to the user in the main Library.
Our intended UX is to show a warning alert to the user if we detect that a matching burstIdentifier already exists in the "Recently Deleted" album. This prevents the confusion of a "successful" save that results in an invisible file.
Question for clarification:
Is there a recommended, officially supported way to identify if a PHAsset returned by fetchAssetsWithBurstIdentifier:options: is currently in the "Recently Deleted" state so we can reliably trigger our UI alert?
I appreciate your technical insights on how to handle this scenario properly to ensure a clear experience for our users.
Best regards,
Jimmy
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: