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

Popular posts from this blog

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -