Platforms to show: All Mac Windows Linux Cross-Platform
SharingPanelMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Sharing Panel | MBS MacFrameworks Plugin | 21.4 | ❌ No | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The system provides several standard services, such as copying items to the pasteboard, posting content to social media sites, sending items via email or SMS, and more. Apps can also define custom services.
Your app is responsible for configuring, presenting, and dismissing this view controller. Configuration for the view controller involves specifying the data objects on which the view controller should act. (You can also specify the list of custom services your app supports.)
- event Completed(activityType as String, completed as Boolean, activityError as NSErrorMBS)
- 2 properties
- property Handle as Integer
- property isBeingPresented as Boolean
- 15 methods
- method AddData(Data as MemoryBlock, subject as string = "")
- method AddFile(File as FolderItem, subject as string = "")
- method AddImage(image as NSImageMBS, subject as string = "")
- method AddPicture(pic as Picture, subject as string = "")
- method AddStyledText(text as NSAttributedStringMBS, subject as string = "")
- method AddText(text as string, subject as string = "")
- method AddURL(URL as string, subject as string = "")
- method Constructor
- method Destructor
- method Dismiss
- method ExcludedActivityTypes as String()
- method Items as Variant()
- method Present
- method SetExcludedActivityTypes(ActivityTypess() as String)
- method SetItems(items() as Variant)
- 16 shared methods
- shared method UIActivityTypeAddToReadingList as String
- shared method UIActivityTypeAirDrop as String
- shared method UIActivityTypeAssignToContact as String
- shared method UIActivityTypeCopyToPasteboard as String
- shared method UIActivityTypeMail as String
- shared method UIActivityTypeMarkupAsPDF as String
- shared method UIActivityTypeMessage as String
- shared method UIActivityTypeOpenInIBooks as String
- shared method UIActivityTypePostToFacebook as String
- shared method UIActivityTypePostToFlickr as String
- shared method UIActivityTypePostToTencentWeibo as String
- shared method UIActivityTypePostToTwitter as String
- shared method UIActivityTypePostToVimeo as String
- shared method UIActivityTypePostToWeibo as String
- shared method UIActivityTypePrint as String
- shared method UIActivityTypeSaveToCameraRoll as String
This class has no sub classes.
Blog Entries
- News from the MBS Xojo Plugins Version 21.4
- MonkeyBread Software Releases the MBS Xojo Plugins in version 21.4
- MBS Xojo Plugins, version 21.4pr4
Xojo Developer Magazine
Release notes
- Version 21.4
- Added SharingPanelMBS class for sharing on iOS.
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
