I'm creating an app and I want it to be configurable to delete photo albums after a given time frame. For example, by default, the program should delete a photo album created within its context after 30 days.
How would you go about doing this? For example, can the app contain some type of background job that runs every hour to check if it's time to delete a photo album? It looks like someone asked a similar question in the past:
Disable confirmation on delete request in PHPhotoLibrary
However, I basically just need to host photos within the context of my custom app. Is it possible to create a PHPhotoAlbum within the context of a particular app where that particular app is the owner of that particular album and has full rights to that album so the app can delete its own photo albums without prompting the user?