When designing and developing apps for iOS, you may find that most of the time you are doing something such as

[UIFont systemFontOfSize:13.0f]

But you don’t have to! iOS comes with a huge list of fonts that can be easily included in your application with ease to make your apps look even nicer than before.

One way to check the list of fonts, is to open up Interface Builder and check out the list of fonts from the inspector for a UILabel, but an easier way is to visit http://iosfonts.com. This website not only lists the fonts and shows their style, but it also lists the text you must enter when setting your font programmatically.

It then becomes as easy as writing:

lbl.font = [UIFont fontWithName:@"Georgia" size:13.0f];


Enjoyed this post?

Subscribe to our RSS Feed or Follow us on twitter to keep up to date with the latest from iOS-Blog. Remember, Sharing is caring so please click one of the following options:

Tags: , ,