iOSSharingPanel

From Xojo Documentation

Revision as of 20:18, 31 October 2018 by PLefebvre (talk | contribs)

Class (inherits from Object)

New in 2016r2

An iOSSharingPanel allows the application to share a piece of text, a URL, or a picture with any registered system service or app.

Events
Cancelled Completed
Methods
SharePicture ShareText ShareURL

Notes

Starting with iOS 11, if you use the SharePicture method your app's Info.plist will need to include an NSPhotoLibraryAddUsageDescription key with a string value explaining to the user how the app uses this data. For example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>NSPhotoLibraryAddUsageDescription</key>
	<string>Allow photos to be added to the photo library.</string>
</dict>
</plist>

See Also

iOSImage