Contents

share(text:from:)

Presents standard UI for someone to share text from a browser text view.

Declaration

func share(text: String, from presentationRect: CGRect)

Parameters

  • text:

    The text to share.

  • presentationRect:

    The area in the view containing the text, which the system uses to locate the sharing UI.

See Also

Sharing and defining text