Augustyniak / FileExplorer

FileExplorer is a powerful iOS file browser that allows its users to choose and remove files and/or directories
Other
742 stars 112 forks source link

open 300MB+ pdf file will crash #22

Open orikon opened 7 years ago

orikon commented 7 years ago

open 300MB+ pdf file will crash

Augustyniak commented 7 years ago

Hi @orikon,

Thanks for reporting it! 👍 Can you share the PDF file here?

mstralka commented 7 years ago

Hi @orikon ,

PDFSpecificationProvider uses WebViewController, which in turn is using the WkWebView to render PDFs.

iOS' WkWebView is not great for displaying large/complex PDF files so you might want to consider using PSPDFKit instead. It's commercial but it works really well - I've used it for years in several apps.