Drafts Reference

Share

Methods to share via system share sheet.

Class Functions

Example

let s = "My text to share"

let didShare = Share.shareAsText(s);

let didShare = Share.shareAsURL("http://getdrafts.com/");

let didShare = Share.shareAsFile("My-File.txt", s);