Post marked as solved
Post marked as solved with 5 replies, 3,718 views
I have a label in a SpriteKit appvar speedLabel: SKLabelNode = SKLabelNode()And when I try to assign it a Font like so:speedLabel.fontName = UIFont.preferredFont(forTextStyle: .body).fontNameIn iOS 11.0-12.x, that returns ".SFUIText" and gives the label the proper san-serif system font.In iOS 13.0, it returns ".SFUI-Regular" and shows up as some serifed, maybe Times New Roman font.I remember having issues with SpriteKit Label Nodes and fonts in the past. If you assigned it an invalid font, it would default to this serifed font.Anyone have any ideas how to fix this?