Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
162 views
in Technique[技术] by (71.8m points)

ios - Diacritic insensitive search in PDFDocument

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) ?

question from:https://stackoverflow.com/questions/65886561/diacritic-insensitive-search-in-pdfdocument

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...