iOSSharingPanel.SharePicture

From Xojo Documentation

Method

iOSSharingPanel.SharePicture(pic As iOSImage, parentView As iOSView, parentControl As iOSControl)

Supported on Mobile(iOS).

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

Parameters

Value Description
pic The picture to share using the sharing panel. Cannot be Nil.
parentView The parent view for the sharing panel. Cannot be Nil.
parentControl The parent control from which a popover appears when the sharing panel is displayed on an iPad. Cannot be Nil.

Notes

A NilObjectException is raised if pic is Nil.

Sample Code

Share a picture:

MySharingPanel.SharePicture(myPic, Self, Me)