MobileSharingPanel.ShareURL
From Xojo Documentation
Method
MobileSharingPanel.ShareURL(url As String, parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil)
Supported on Mobile.
Supported on Mobile.
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. |
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. |
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)