share(_:)
Presents UI for sharing the selected text.
Declaration
optional func share(_ sender: Any?)Parameters
- sender:
The object calling this method.
Discussion
To present the standard system UI for sharing content, call share(text:from:) in your implementation of this method.