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) ?
2.1m questions
2.1m answers
60 comments
57.0k users