Skip to content

Commit

Permalink
Update demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoNatan committed Aug 23, 2023
1 parent f02d21c commit 367e15c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ViewController: UIViewController, UIDocumentPickerDelegate {
let url = try dumpViewHierarchy()

#if targetEnvironment(macCatalyst) || !targetEnvironment(simulator)
let picker = UIDocumentPickerViewController(forExporting: [pendingTempUrl!], asCopy: true)
let picker = UIDocumentPickerViewController(forExporting: [url], asCopy: true)
picker.view.layoutIfNeeded()
picker.delegate = self
#if targetEnvironment(macCatalyst)
Expand Down

0 comments on commit 367e15c

Please sign in to comment.