Skip to content

Why does retrieveCloudDocumentWithName trigger iCloudFilesDidChange? #128

@skuske

Description

@skuske

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions