userInfo
An optional dictionary of keys and values corresponding to the extension item’s properties.
Declaration
var userInfo: [AnyHashable : Any]? { get set }Discussion
If applicable to a particular extension type, additional information may be available in the userInfo dictionary. For example, in the context of an Action extension, the userInfo dictionary may contain values for the keys NSExtensionItemAttachmentsKey, NSExtensionItemAttributedContentTextKey, and NSExtensionItemAttributedTitleKey.