Perhaps it is the duplicate one, but I have still issues.
I have downloaded the custom fonts from the following link,
http://cooltext.com/Download-Font-Traditional+Arabic
Install it on my mac, saved in plist properly and then used as following.
lblDesc.font = [UIFont fontWithName:@"Arabic" size:10];
After downloading I have changed it's name to Arabic, it's still not showing, can any one help me?
Thanks! Regards! Khalid Usman
you have to use real font family name instead of file name.
lblDesc.font = [UIFont fontWithName:@"Traditional Arabic-Regular" size:10];
Alternatively you can find out all the font install and check the name of the font of your interest
for (NSString *familyName in [UIFont familyNames]) { for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) { NSLog(@"%@", fontName); } }