I am trying to make my UI consistent on iOS. I am using a native iOS navigation bar for navigation, and would like the text in my app to use the same font as that in the navigation bar.
There is a
getSystemFontName method in
UIFont. Is there a neat way to get at this and use the system font within a JUCE app?
Hey! We currently haven’t implemented a function that can get the system font. For Apple OS devices there seems to be a definite system font, however, it can be a bit more uncertain and the way of getting the system font can vary for different systems. This is something we could work on in the future.
I’ve tried to get the name of the system font via
UIFont.getSystemFontName but not had any luck so far, it seems to return blank string… Need to investigate a little more.