Created
January 31, 2018 19:08
-
-
Save dejanskledar/238170703c86a28b1071b548da1ac935 to your computer and use it in GitHub Desktop.
PDFKit Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard let data = self.pdfDocument.dataRepresentation() else { return } | |
let activityController = UIActivityViewController(activityItems: [data], applicationActivities: nil) | |
self.present(activityController, animated: true, completion: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment