系统字体在 iOS 13 上呈现为 Times New Roman

Mc.*_*ver 7 xcode ios

我有一些UILabel默认的系统字体。但是当我在装有 iOS 13.1 的 iPad 或 iPhone 上安装我的应用程序时,字体会变成类似Times New Roman! 为什么会发生这种情况?我确定标签的文本是普通的,字体是System. 我该如何解决这个问题?

PS:我已经从苹果网站下载了所有的SF字体,仍然没有运气!

Mc.*_*ver 6

我找到了解决方案,问题在于检测当前标签的字体。我变了:

descriptions.font = UIFont(name: (descriptions.font?.fontName)!, size: 22)
Run Code Online (Sandbox Code Playgroud)

descriptions.font = UIFont.systemFont(ofSize: 22)
Run Code Online (Sandbox Code Playgroud)

并解决了问题。