You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am observing iCloud changes through iCloudFilesDidChange and what I am seeing is that calling retrieveCloudDocumentWithName actually triggers iCloudFilesDidChange, which causes iCloudFilesDidChange to be called over and over again if I call retrieveCloudDocumentWithName from within iCloudFilesDidChange.
What I want to do is: observe changes on a specific file, if there is a change, download the file and save it locally. However, due to the fact iCloudFilesDidChange is called over and over again if I call retrieveCloudDocumentWithName from within iCloudFilesDidChange, there's no way to stop that.
Maybe I misunderstood something fundamental - if so, sorry... Thanks for any help.
The text was updated successfully, but these errors were encountered:
You haven't misunderstood anything. This is a known issue -- thank you for reporting it here. Check out the swift-rewrite branch for updates to the library. Expect a fix for this soon.
I am observing iCloud changes through
iCloudFilesDidChange
and what I am seeing is that callingretrieveCloudDocumentWithName
actually triggersiCloudFilesDidChange
, which causesiCloudFilesDidChange
to be called over and over again if I callretrieveCloudDocumentWithName
from withiniCloudFilesDidChange
.What I want to do is: observe changes on a specific file, if there is a change, download the file and save it locally. However, due to the fact
iCloudFilesDidChange
is called over and over again if I callretrieveCloudDocumentWithName
from withiniCloudFilesDidChange
, there's no way to stop that.Maybe I misunderstood something fundamental - if so, sorry... Thanks for any help.
The text was updated successfully, but these errors were encountered: