Custom Font Problem with iOS


I am trying to add custom font to my application. I copied the font file to app/fonts folder.
The font being used is Helvetica Neue LT Std 45 Light.
I am trying to apply the font globally across the application. So I added the following in app.css

  • {
    font-family: “HelveticaNeueLTStd-Lt”;
    This works fine in Android. But it does not work on iOS.
    I tried adding the style separately for iOS and Android like this: -

.android * {
font-family: “HelveticaNeueLTStd-Lt”;

.ios * {
font-family: “Helvetica Neue LT STD 45 Light”; // Name taken from Font book app in Mac

But this doesn’t seem to work either.
Any help would be much appreciated.

Thank You.


For iOS, you have to use the postscript name as font family name.


@manojdcoder Thank you for the response. It worked.