Type Property

postToTwitter

The object posts the provided content to the user’s Twitter feed.

Declaration

static let postToTwitter: UIActivity.ActivityType

Discussion

When using this service, you can provide NSString, NSAttributedString, UIImage, ALAsset, and NSURL objects as data for the activity items. You may also specify NSURL objects whose contents use the assets-library scheme.