I\'m working on an application that requires arabic text to be displayed, using custom arabic font. The problem is that i\'m not having any luck in displaying the arabic tex
If you're targeting iOS 6, you can use NSAttributedString
to achieve this a lot more simply:
NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:info.text attributes:@{ NSFontAttributeName : [UIFont fontWithName:@"Scheherazade" size:32], NSLigatureAttributeName: @2}];
cell.textLabel.attributedText = attributedString;
Refer to my answer here for some discussions on other matters commonly relevant to arabic fonts such as line-spacing and ligatures.