Skip to content

Instantly share code, notes, and snippets.

View siliconsorcery's full-sized avatar
Trying to Think

Silicon Sorcery siliconsorcery

Trying to Think
View GitHub Profile
siliconsorcery / PDFKitView.swift
Last active August 13, 2022 02:00
PDF View in SwiftUI
import SwiftUI
import PDFKit
struct PDFPage: View {
var body: some View {
let url = URL(string: "")!
let pdfDoc = PDFDocument(url: url)!