"Andalus" custom font not work in UITableViewCell
. Steps followed:
Add font file name "Andalus.ttf" to "Fonts provided by application" key in app-info.plist
Get font name using
NSLog(@"%@", [UIFont familyNames]);
// it return "Andalus"Set font name using:
cell.textLabel.font = [UIFont fontWithName:@"Andalus" size:10];
cell.detailTextLabel.font = [UIFont fontWithName:@"Andalus" size:10];
in
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
and
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
but a word like 'حمل' not appear as in a textedit with the same font
I get data using UTF8
from sqlite
thank you for advance