From Xojo Documentation


MobileSharingPanel.ShareURL(url As String, parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil)

Supported on Mobile.

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.
parentScreen 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)