In iOS 12.2, passing true
to PDFView
\'s usePageViewController(_, withViewOptions:)
will cause a crash with the following exception:
Try moving usePageViewController(_, withViewOptions:)
(and everything else you're setting up with it for that matter) into viewDidAppear
instead of viewDidLoad
I ran into the same problem and found the answer here: There's problem with PDFKit appeared after update to Xcode 10.2. Is there any way to solve?