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

  • Home
  • SEARCH
  • 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 8496565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:53:22+00:00 2026-06-10T23:53:22+00:00

I sometimes have a problem with opening UIDocuments which are stored on iCloud. I

  • 0

I sometimes have a problem with opening UIDocuments which are stored on iCloud. I call the following code at the very beginning of my app after checking if iCloud is available and getting the results of the NSMetaDataQuery. This works in 98% of all cases. It’s just sometimes (e.g. sometimes after re-installing the app) that the completionHandler will never be called:

FRNBDocument *doc = [[FRNBDocument alloc] initWithFileURL:fileURL];
[doc openWithCompletionHandler:^(BOOL success) {

    NSLog(@"... doc: openedWithCompletionHandler");

As you can see from the code, I’m initialising a new UIDocument instance (FRNBDocument), so it can’t be the case than an old UIDocument is still open and thus this one fails to open.

The only way to get the app working again is to kill it and then go to the settings.app > iCloud > Documents & Data and turn it OFF and then turn it ON again. When I go back to the app, the UIDocs will be loaded without a problem.

I’ve noticed that other apps (e.g. xTrail by sophiestication) have the same problem and that I can only get them running again after doing the trick described above.

What is going on?

  • 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-10T23:53:24+00:00Added an answer on June 10, 2026 at 11:53 pm

    OK, this seems to be an iCloud bug. I’ve been in touch with Apple and they suggested to file a bug report. And so I did (id 12260670).

    What I’ll do now is to simply implement a timer. If the UIDocs have not loaded after 20 secs, I’ll show an AlertView, telling the user to go to the settings.app > iCloud > Documents & Data and turn it OFF and then turn it ON again.

    This is so frustrating. Unbelievable.

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

Sidebar

Related Questions

I'm having a very boring problem. When my app goes to background, sometimes the
After upgrading to the newest GWT/Google app engine I have problems opening my workspace
I have some problem with MySQL Workbench in that I sometimes can't set foreign
I have a problem in a site that I am trying to develop Sometimes
I have a service that also contains an activity the problem is sometimes it
Sometimes I have to write code that alternates between doing things and checking for
Sometimes I have to run multiple queries (one after another) with slightly different arguments
I have the problem that in a PHP application Gearman jobs sometimes are passed
I have the following python code that expects data coming from the serial port,
we have a piece of code which generates a zip file on our system.

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.