iOSSharingPanel.ShareURL

From Xojo Documentation

Method

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.

Parameters

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.

Notes

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

Sample Code

Share a URL:

MySharingPanel.ShareURL("http://www.wikipedia.org%22, Self, Me)

See Also

SharePicture and ShareText methods.