Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Helvetica Neue Light,iOS

Surprisingly I can't seem to find another question on this... sorry if I'm missing something obvious.

I'm trying to use Helvetica Neue Light programatically in my iPhone app. It seems that the system doesn't have this built in, which seems strange.

Is this the case? Does this particular font need to be added manually?

Ideally I'd like to edit this line of code to accomplish this:

myLabel.font = [UIFont fontWithName:@"HelveticaNeue" size: 32];
like image 659
MattLoszak Avatar asked Aug 22 '13 14:08

MattLoszak


People also ask

Is Helvetica Neue an Apple font?

One of the most popular fonts in the world, Helvetica Neue (pronounced: noy-uh), is also a huge troublemaker. It was created in Switzerland in the 50s and adopted by Apple's design gurus back in 2013 for the iPhone. Apple's blessing only increased its popularity.

Is Helvetica Neue LT the same as Helvetica Neue?

It is essentially the same Helvetica font that was included in the original Adobe PostScript printers.

Does Adobe have Helvetica Neue?

Helvetica Neue is not part of the Adobe Fonts service. You don't install typefaces into InDesign. Instead you install them onto your computer and your applications use them.


2 Answers

The font name you used is incorrect, try:

Objective-C

myLabel.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:32.0f]; 

Swift

myLabel.font = UIFont(name: "HelveticaNeue-Light", size: 32.0) 

On iOS Fonts you will find the full list of fonts and their names.

like image 180
rckoenes Avatar answered Oct 05 '22 08:10

rckoenes


Here is a link where all the supported fonts are available for iOS.

HelveticaNeue is supported in iOS and its Keyword is "HelveticaNeue"

like image 41
Ahmed Z. Avatar answered Oct 05 '22 09:10

Ahmed Z.