From Xojo Documentation


iOSSharingPanel.ShareURL(url 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 URL.


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


An InvalidArgumentException is raised if the url parameter is not a valid URL construct.

Sample Code

Share a URL:

MySharingPanel.ShareURL(", Self, Me)

See Also

SharePicture and ShareText methods.