ios - How to configure NSStringCompareOptions to handle a case sensitive search with the NSDiacriticInsensitiveSearch option enabled -


i need way configure nsstringcompareoptions handle case sensitive search nsdiacriticinsensitivesearch enabled.

example

my search has find word "gesu" in following text "gesù word find".

i've tried following combination:

self.pdfviewcontroller.textsearch.compareoptions = nsliteralsearch|nsdiacriticinsensitivesearch; 

but doesn't work.

any suggestions?


Comments