Font difference in IOS 7 vs IOS 8 - detect IOS version?

When I getSystemFonts, my IOS 7 Iphone 4 lists and requires the name for newText to be with dashes (-), on IOS 8 without them. As a consequence, I can’t display the font correctly on both.

Can I detect IOS version? System.getInfo doesn’t seem to let me.

Can I detect whether a font gets loaded correctly or not?

Else as I see it, I have no choice but to have it display incorrectly on Iphone 4, or require all users to upgrade to IOS 8 for my app to look as it should.

Edit: if I can somehow edit the font name inside the .ttf file, to remove spaces or replace them with dashes, I might be able to eliminate the problem. This is just an educated guess, but worth a shot. How?

I cant remember the app I used to change the ttf font, but there are many free options to do it. Just look for ttf font rename and you will find it.

Just remember to rename the ttf file to be the same as the internal font name, all lower case, no spaces… then you can use the same ttf file for ios and android app versions without problems.

Are you using fonts you are supplying with your app or are you using ones the device provides?

Rob

Custom: V.A.G. Rounded Bold

The filename shouldn’t matter.  You should be using the internal name for the font.  You can right click (cmd-click) on the font file in the Mac and do a Get Info and it should tell you the internal font name.  I’m not sure what changed between iOS 7 and 8, but perhaps the getFont information is showing you the proper display name now instead of the internal font descriptor.

I cant remember the app I used to change the ttf font, but there are many free options to do it. Just look for ttf font rename and you will find it.

Just remember to rename the ttf file to be the same as the internal font name, all lower case, no spaces… then you can use the same ttf file for ios and android app versions without problems.

Are you using fonts you are supplying with your app or are you using ones the device provides?

Rob

Custom: V.A.G. Rounded Bold

The filename shouldn’t matter.  You should be using the internal name for the font.  You can right click (cmd-click) on the font file in the Mac and do a Get Info and it should tell you the internal font name.  I’m not sure what changed between iOS 7 and 8, but perhaps the getFont information is showing you the proper display name now instead of the internal font descriptor.