Customizing message when sharing via CloudKit

Hi,


on a Mac, when sharing a CKShare using NSItemProvider/NSSharingService, the message transmitted looks like this


Open my shared com.syniumsoftware.<lastutipart>:

https://www.icloud.com/share/<longkeyfromcloudkit>


While this works, it does not seem right presenting a UTI to the user. The uti "com.syniumsoftware.<lastutipart>" is specified in my info.plist file but NSSharingService fails to convert it to a human readable string.


Any hints on how the UTI is properly resolved OR how to customize the sharing message?


Best,

Mendel

Replies

It looks like you are not using CKShareTypeKey and CKShareTitleKey keys for your CKShare. That's why default values are used.