UIActivityViewController
A view controller that you use to offer standard services from your app.
Declaration
class UIActivityViewControllerMentioned in
Overview
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.) When presenting the view controller, you must do so using the appropriate means for the current device. On iPad, you must present the view controller in a popover. On iPhone and iPod touch, you must present it modally.
Topics
Initializing the activity view controller
init(activityItems:applicationActivities:)init(activityItemsConfiguration:)UIActivityItemsConfigurationUIActivityItemsConfigurationReading