Crash with PDFKit on iOS 12.2

后端 未结 1 568
遥遥无期
遥遥无期 2021-01-21 22:16

In iOS 12.2, passing true to PDFView\'s usePageViewController(_, withViewOptions:) will cause a crash with the following exception:

<
相关标签:
1条回答
  • 2021-01-21 22:43

    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?

    0 讨论(0)
提交回复
热议问题