MattLoszak MattLoszak - 10 months ago 40
iOS Question

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];


The font name you used is incorrect, try:


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


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

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