Post

Replies

Boosts

Views

Activity

Reply to Quick Note does not show "Add Link" for iCloud documents even though persistentIdentifier is set
A few more findings after debugging this a couple of more times: Not using NSUserActivity provided by UIDocument (documents located in iCloud provide those) but creating our own with all the properties being set the same makes indeed QuickNote to show the “Add Link” button. Is this a bug or feature? Removing all URL types from userInfo dictionary of the NSUserActivity fixes the issue of missing userInfo dict (and other properties) on NSUserActivity in sceneDelegate's continue activity method after tapping the document link in QuickNote. But this breaks Handoff to other devices where we need the iCloud document URL.
Sep ’21