2

Using PDFKit, I'd like to perform diacritic insensitive search in a PDFDocument. I tried to add the diacriticInsensitive compare options in my call beginFindString(_:withOptions:), but it seems to be ignored.

document.beginFindString(text, withOptions: [.caseInsensitive, .diacriticInsensitive])

This code give's me only case insensitive results, which is kind of frustating.

Is there a way to make diacritic insensitive search working in PDFKit ? Or is this option not available (perhaps for performance issues) ?

ocadosales
  • 21
  • 2

0 Answers0