From Xojo Documentation


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.


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.


A NilObjectException is raised if pic is Nil.

Sample Code

Share a picture:

MySharingPanel.SharePicture(myPic, Self, Me)

See Also

ShareText and ShareURL methods.