قالب وردپرس درنا توس
Home / IOS Development / ios – Searching PDFs increases the app's memory usage too much

ios – Searching PDFs increases the app's memory usage too much



I noticed that when I search large PDF files, the app's memory usage increases because PDFKit does some internal search cache. Is there any way to control this cache size?

To search a PDF document, I used:

func startFindString (_ string: String, withOptions options: NSString.CompareOptions = [])


Source link