Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 813 Bytes
//
// UIActivityExtensions.swift
// SwifterSwift
//
// Created by Hannes Staffler on 07.10.18.
// Copyright © 2018 SwifterSwift
//
#if canImport(UIKit) && os(iOS)
import UIKit
// MARK: - ActivityType
public extension UIActivity.ActivityType {
/// SwifterSwift: AddToiCloudDrive
static let addToiCloudDrive = UIActivity.ActivityType("com.apple.CloudDocsUI.AddToiCloudDrive")
/// SwifterSwift: WhatsApp share extension
static let postToWhatsApp = UIActivity.ActivityType("net.whatsapp.WhatsApp.ShareExtension")
/// SwifterSwift: LinkedIn share extension
static let postToLinkedIn = UIActivity.ActivityType("com.linkedin.LinkedIn.ShareExtension")
/// SwifterSwift: XING share extension
static let postToXing = UIActivity.ActivityType("com.xing.XING.Xing-Share")
}
#endif
You can’t perform that action at this time.