Created
May 10, 2020 04:29
-
-
Save asingh33/bcdebfdcd5767b247ca65fe32ecaf898 to your computer and use it in GitHub Desktop.
Using PDFViewUI structure object in SwiftUI framework
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
struct DocumentView: View { | |
var document: UIDocument | |
var dismiss: () -> Void | |
var pdfView: PDFViewUI! | |
var body: some View { | |
VStack { | |
pdfView | |
Button("Done", action: dismiss) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment