As known, the NSDiacriticInsensitiveSearch does not do the same effect on arabic letters like it does on french. That's why i'm trying to create the same effect but with arabic letters.
For example, if a user enters the letter "ا" , the search bar should show all the words containing the letter " ا " and the letter : " أ " at the same time.
The use of the following line :
text = [text stringByReplacingOccurrencesOfString:@"ا" withString:@"أ"];
will not show the results of the words starting with " ا ".
In the search bar, i tried to implement the same NSDiacriticInsensitiveSearch method like i did in the french case, and it didn't work out :
NSRange nameRange = [author.name rangeOfString:text options:NSAnchoredSearch | NSDiacriticInsensitiveSearch];
Any ideas how to get this done ?