Type Property

postToFacebook

The object posts the provided content to the user’s wall on Facebook.

Declaration

static let postToFacebook: 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.