UIDocument Versions with NSFileVersion

I have a subclass of UIDocument that uses iCloud. I would like to implement a version of the document, but it seems that

[NSFileVersion otherVersionsOfItemAtURL:url]

returns an empty array, no matter how many times I save a UIDocument in the cloud. therefore, I assume that I should miss something.

What is the proposed workflow for storing old versions of a document so that the user can later select an older version.

+5
source share

All Articles