Last active
February 2, 2018 13:25
-
-
Save dejanskledar/2681d1e38729a1b9af176180690a15d7 to your computer and use it in GitHub Desktop.
Introducing PDFKit
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 url = URL(string:"www.your_pdf_url.com") else { return } | |
let pdfView = PDFView(frame: view.frame) | |
let pdfDocument = PDFDocument(url: url) | |
pdfView.document = pdfDocument | |
view.addSubview(pdfView) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment