ShareLink(items:subject:message:) usage

How is one supposed to use ShareLink(items:subject:message:)? It makes no sense to me. It accepts type Data for items. But Data's Element has to be String or URL or similar. How does this even work???

Answered by DTS Engineer in 798110022

@JetForMe ShareLink API docs provides examples of how the API could be used. Please review the literature in the docs.

The items to be shared could be of Data type, however Data.Element conforms to Transferable and you could provide a object that conforms to Transferable

@JetForMe ShareLink API docs provides examples of how the API could be used. Please review the literature in the docs.

The items to be shared could be of Data type, however Data.Element conforms to Transferable and you could provide a object that conforms to Transferable

ShareLink(items:subject:message:) usage
 
 
Q