Make a list of available fonts:
for( NSString *strFamilyName in [UIFont familyNames] ) {
for( NSString *strFontName in [UIFont fontNamesForFamilyName:strFamilyName] ) {
NSLog(@"%@", strFontName);
}
}
Now set Font likethis is:
[yourLabel setFont:[UIFont fontWithName:@"your font name here" size:fontsizehere]];
EDIT :
For example, for example:
[yourLabel setFont:[UIFont fontWithName:@"Arial" size:15]];
source
share