Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7821925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:47:19+00:00 2026-06-02T07:47:19+00:00

My application keeps a cache of ALAssets. The user may put the app into

  • 0

My application keeps a cache of ALAssets. The user may put the app into the background and then use the Photos app, or some other means, to delete some photos or videos. When my app is in the background, I do not get the notification from ALAssetsLibrary that data has changed. Does anyone have an optimal approach to syncing my application state with the ALAssetsLibrary state when the application becomes active again?

Upate:
It looks like I can use this approach to iterate back over the entire library, but it seems an inefficient way to get the delta of changes.

How to check if an ALAsset still exists using a URL

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:47:20+00:00Added an answer on June 2, 2026 at 7:47 am

    You should register for ALAssetsLibraryChangedNotification and only reenumerate the Library, when you receive the notification, that the Library has actually changed. You will receive this notification, when you app is in the foreground again.
    Please note that, there is a bug in iOS 5.X regarding ALAssetsLibraryChangedNotification:
    http://www.openradar.me/10484334

    Cheers,

    Hendrik

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The application de-serializes a stream into dynamically allocated objects and then keeps base type
My application keeps running into Timeout Expired SqlExceptions. The thing is that this query
I'm trying to load values into a SQLite table on android. My application keeps
i have written an application, but for some reason it keeps peaking at 100%.
An application keeps track of hundreds of variables. Users are able to create conditions
My Connection to my test application keeps terminating in the same place without any
I'm trying to make an application that keeps an object model in sync with
I'm writing a Java application that runs on Linux (using Sun's JDK). It keeps
A User takes pictures using camera in his device. My application should keep track
We've been having some issues with our MySQL server intermittently. It keeps throwing out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.