UIPreviewActivityViewController
Meet
📋 Requirements
Type | Requirement | |
---|---|---|
Platform |
iOS |
9.0+ |
macOS |
N/A |
|
tvOS |
N/A |
|
watchOS |
N/A |
|
Linux |
N/A |
|
IDE |
Xcode |
10.2+ |
Language |
Swift |
5+ |
📲 Installation
CocoaPods
UIPreviewActivityViewController
is available on CocoaPods.
use_frameworks!
pod 'UIPreviewActivityViewController'
Manually
Copy all files in the UIPreviewActivityViewController
directory into your project.
🛌 Dependency
N/A
❤️ Contribution
You are welcome to fork and submit pull requests.
🔖 License
UIPreviewActivityViewController
is open-sourced software, licensed under the MIT
license.
🔫 Usage
import UIPreviewActivityViewController
let shareControler = UIPreviewActivityViewController.init(activityItems: [string, #imageLiteral(resourceName: "pic1"))
controller.present(shareControler, animated: true, completion: nil)