iOSSharingPanel.ShareText

From Xojo Documentation

Method

iOSSharingPanel.ShareText(textToShare As Text, parentView As iOSView, parentControl As iOSControl)

Supported on Mobile (iOS).

Displays the sharing panel to the user, allowing them to share the passed text.

Parameters

Value Description
textToShare The text to share using the sharing panel.
parentView The parent view for the sharing panel.
parentControl The parent control from which a popover appears when the sharing panel is displayed on an iPad.

Sample Code

Share text from a Text Area:

MySharingPanel.ShareText(DescArea.Text, Self, Me)