Posts

Post not yet marked as solved
5 Replies
949 Views
Using CloudKit, it is possible to store a security-scoped bookmark to some file stored in iCloud, in the local file system, or even in Dropbox. Later, the bookmark can be retrieved from the CloudKit database and the corresponding file open.However, retrieving the bookmark from another device connected to the same iCloud account does not work, though it seems that it should. For instance, the app lets users create a catalog of specific iCloud files selected through the document picker. The user should then be able to run the app on another device connected to the same iCloud account, in order to browse that catalog (stored in CloudKit) and retrieve the files to which the user has legitimate access.This does not work. It seems that the security-scoped bookmark is tied to the device on which it was created, even though such bookmarks are supposed to be portable as long as they refer to the exact same file, not a copy thereof. In this case, the file is in iCloud so it is exactly the same regardless of the device used to access it.Is there a way to achieve multidevice support for security-scoped bookmarks as long as the user has legitimate access to the corresponding files, either as their owner or as a user who was granted read or write access via CloudKit?Thanks for any help.
Posted
by jmdecombe.
Last updated
.