给定一个UIFont
实例,我如何确定它使用的是什么系统设计?这是UIFontDescriptor.SystemDesign
可以是以下之一的值: default
、monospaced
或。rounded
serif
我看到如何设置这个,UIFontDescriptor.withDesign()
但不清楚如何在当前字体上读取该值。
给定一个UIFont
实例,我如何确定它使用的是什么系统设计?这是UIFontDescriptor.SystemDesign
可以是以下之一的值: default
、monospaced
或。rounded
serif
我看到如何设置这个,UIFontDescriptor.withDesign()
但不清楚如何在当前字体上读取该值。