Reputation: 1844
Just a simple question: Can I set the system iOS7 font (HelveticaNeueInterface-M3) by code to use it in a label like: [label setFont:[UIFont fontwithName:@"..." size:14]]; Thanks!
Upvotes: 2
Views: 485
Reputation: 135
Use
[UIFont fontWithName:@"HelveticaNeue" size:14]
for Light: [UIFont fontWithName:@"HelveticaNeue-Light" size:14]];
for Thin: [UIFont fontWithName:@"HelveticaNeue-Thin" size:14]];
for Bold: [UIFont fontWithName:@"HelveticaNeue-Bold" size:14]];
in iOS7 it should also work
[UIFont fontWithName:@"System" size:14]
Upvotes: 1